Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.695/2.695, allocations: 287.3 MB / 302.3 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 174.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 89.69 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004744, allocations: 13.94 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0009595/0.2091, allocations: 466.3 kB / 0.9787 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.2109, allocations: 1.196 MB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.211, allocations: 7.938 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.2111, allocations: 3.938 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.2112, allocations: 19.95 kB / 0.9799 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.2122, allocations: 213.6 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.2124, allocations: 139.8 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2126, allocations: 16.23 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.2127, allocations: 83.86 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2129, allocations: 75.75 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.213, allocations: 12 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.2131, allocations: 31.92 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.2131, allocations: 27.91 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.2132, allocations: 53.64 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.2135, allocations: 155.8 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2135, allocations: 0 / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2135, allocations: 4 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.2135, allocations: 0 / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007755/0.2143, allocations: 468.5 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.2144, allocations: 16.02 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.2144, allocations: 34.55 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.2145, allocations: 19.91 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.2155, allocations: 269.3 kB / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.2156, allocations: 12 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.2157, allocations: 19.98 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.2161, allocations: 135.2 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2161, allocations: 0 / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.2161, allocations: 7.984 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2161, allocations: 0 / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.2163, allocations: 59.95 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2175, allocations: 0.5279 MB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.2178, allocations: 161.3 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2179, allocations: 4 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/0.2183, allocations: 202.1 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.2183, allocations: 4 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0007758/0.2191, allocations: 310.2 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2192, allocations: 85.06 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2193, allocations: 131.6 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.2194, allocations: 41.7 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.2195, allocations: 100.8 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.2196, allocations: 51.34 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.2196, allocations: 8 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.2197, allocations: 326.8 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.2199, allocations: 84.61 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.2202, allocations: 160.1 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.2205, allocations: 145.1 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2205, allocations: 4 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007939/0.2213, allocations: 356.5 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.2214, allocations: 69.58 kB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2214, allocations: 4.219 kB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2215, allocations: 8 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2216, allocations: 19.92 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.2216, allocations: 7.953 kB / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/0.2223, allocations: 87.78 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.2224, allocations: 19.98 kB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.2226, allocations: 144 kB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.2227, allocations: 11.91 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.2227, allocations: 20.5 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2228, allocations: 4 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2228, allocations: 0 / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2228, allocations: 7.938 kB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.2236, allocations: 0.6069 MB / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.2237, allocations: 0 / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.2238, allocations: 11.98 kB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.2238, allocations: 4 kB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.2238, allocations: 4 kB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2238, allocations: 0 / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2238, allocations: 3.953 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.2244, allocations: 435.9 kB / 0.9857 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.2245, allocations: 92.95 kB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.2245, allocations: 19.92 kB / 0.9858 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.2248, allocations: 19.94 kB / 0.9858 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/0.2249, allocations: 27.95 kB / 0.9859 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.2249, allocations: 15.98 kB / 0.9859 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.225, allocations: 88.53 kB / 0.986 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.225, allocations: 0 / 0.986 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005477/0.2256, allocations: 59.98 kB / 0.986 GB, free: 19.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008982/0.2265, allocations: 1.047 MB / 0.9871 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007043/0.2272, allocations: 346.9 kB / 0.9874 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2272, allocations: 8 kB / 0.9874 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.2275, allocations: 117.4 kB / 0.9875 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.2279, allocations: 15.98 kB / 0.9875 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2292, allocations: 1.771 MB / 0.9893 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.2294, allocations: 0.7047 MB / 0.9899 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.2296, allocations: 21.55 kB / 0.99 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.902e-05/0.2297, allocations: 39.42 kB / 0.99 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of SimCode: time 1.262e-06/0.2297, allocations: 0 / 0.99 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.2576, allocations: 3.582 MB / 0.9935 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.2579, allocations: 178.4 kB / 0.9937 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/2.649, allocations: 0 / 0.9937 GB, free: 11.99 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)