Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 188.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 97.86 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004623, allocations: 13.38 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2892, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.4789, allocations: 132.1 MB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4792, allocations: 67.97 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006153/0.4854, allocations: 2.274 MB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4854, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.4854, allocations: 4 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008498/0.4863, allocations: 0.4941 MB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.4863, allocations: 8.031 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/0.4864, allocations: 54.55 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.4865, allocations: 27.75 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.4868, allocations: 221 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.4868, allocations: 16.33 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.4869, allocations: 27.98 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.4872, allocations: 176.8 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4872, allocations: 4 kB / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.4873, allocations: 11.97 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.4873, allocations: 7.953 kB / 1.032 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.4875, allocations: 124.5 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.4885, allocations: 0.5469 MB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.4888, allocations: 216.3 kB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.4889, allocations: 4 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.4893, allocations: 263.1 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/0.4893, allocations: 0 / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0007121/0.4901, allocations: 426.3 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4901, allocations: 67.33 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4903, allocations: 148.8 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.4903, allocations: 41.69 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.4904, allocations: 112.9 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.4905, allocations: 90.88 kB / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.4905, allocations: 12 kB / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4907, allocations: 330.8 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.4908, allocations: 97.09 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4911, allocations: 154.2 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4913, allocations: 92.81 kB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4913, allocations: 0 / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000492/0.4918, allocations: 335.6 kB / 1.035 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4918, allocations: 4 kB / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4918, allocations: 0 / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4918, allocations: 4 kB / 1.035 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.492, allocations: 43.86 kB / 1.035 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.492, allocations: 4 kB / 1.035 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.4922, allocations: 43.81 kB / 1.035 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.4923, allocations: 24.08 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0001957/0.4925, allocations: 157.1 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.4925, allocations: 23.8 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/0.4926, allocations: 25.91 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4926, allocations: 4 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4926, allocations: 0 / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4926, allocations: 3.984 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4937, allocations: 0.7614 MB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4937, allocations: 3.984 kB / 1.036 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.4938, allocations: 12 kB / 1.036 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4938, allocations: 4 kB / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.4938, allocations: 15.98 kB / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4938, allocations: 0 / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4938, allocations: 4 kB / 1.036 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.4944, allocations: 447 kB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.4945, allocations: 92.83 kB / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.4945, allocations: 11.98 kB / 1.037 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.4947, allocations: 27.97 kB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.4948, allocations: 47.92 kB / 1.037 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.4949, allocations: 15.98 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000104/0.495, allocations: 111.2 kB / 1.037 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.765e-06/0.495, allocations: 0 / 1.037 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002903/0.4953, allocations: 75.92 kB / 1.037 GB, free: 2.902 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0009425/0.4962, allocations: 0.9901 MB / 1.038 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.4967, allocations: 278.3 kB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4967, allocations: 0 / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.4969, allocations: 159.9 kB / 1.039 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.4972, allocations: 30.84 kB / 1.039 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.4994, allocations: 1.807 MB / 1.04 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4998, allocations: 0.749 MB / 1.041 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.915e-05/0.4999, allocations: 30.97 kB / 1.041 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.5, allocations: 67.41 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.5, allocations: 0 / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.5155, allocations: 4.105 MB / 1.045 GB, free: 10.74 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.5158, allocations: 198.2 kB / 1.045 GB, free: 10.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.32, allocations: 0 / 1.045 GB, free: 10.49 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)