Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resetTimer.u|resetTimer.y|accuTimer.u|accuTimer.reset|accuTimer.y|accuTimer1.u|accuTimer1.reset|accuTimer1.y|accuTimer2.u|accuTimer2.reset|accuTimer2.y|accuTimer3.u|accuTimer3.reset|accuTimer3.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resetTimer.u|resetTimer.y|accuTimer.u|accuTimer.reset|accuTimer.y|accuTimer1.u|accuTimer1.reset|accuTimer1.y|accuTimer2.u|accuTimer2.reset|accuTimer2.y|accuTimer3.u|accuTimer3.reset|accuTimer3.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004097, allocations: 8 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8014, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002187/0.8036, allocations: 1.434 MB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.8049, allocations: 0.6867 MB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.805, allocations: 4 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.8051, allocations: 11.86 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.8052, allocations: 39.91 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.8062, allocations: 350.6 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.8065, allocations: 239.5 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.8067, allocations: 48.27 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.8069, allocations: 139.7 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.807, allocations: 127.5 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.8071, allocations: 23.94 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.8072, allocations: 27.98 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.8072, allocations: 47.81 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.8073, allocations: 73.64 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.8076, allocations: 269.2 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.8076, allocations: 0 / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.546e-06/0.8077, allocations: 4 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.8077, allocations: 4 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000785/0.8085, allocations: 0.5535 MB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.8085, allocations: 11.98 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.8086, allocations: 35.72 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007829/0.8094, allocations: 311.6 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.8095, allocations: 36.2 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.8095, allocations: 35.98 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.8098, allocations: 176.2 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8099, allocations: 0 / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.8099, allocations: 11.98 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8099, allocations: 4 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.8101, allocations: 112.1 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.8111, allocations: 0.5937 MB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.8115, allocations: 198.5 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.8115, allocations: 4 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004236/0.8119, allocations: 251 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.8119, allocations: 4 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36): time 0.000727/0.8127, allocations: 407.1 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.8127, allocations: 67.39 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.8129, allocations: 186.9 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.813, allocations: 53.64 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.8132, allocations: 136.8 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.8132, allocations: 82.95 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.8133, allocations: 12 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.8135, allocations: 351.1 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.8138, allocations: 145 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.8141, allocations: 267.2 kB / 1.028 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.8145, allocations: 237 kB / 1.028 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8145, allocations: 0 / 1.028 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008858/0.8154, allocations: 0.5799 MB / 1.029 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.49e-05/0.8155, allocations: 94.81 kB / 1.029 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.8155, allocations: 4.375 kB / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.8155, allocations: 8 kB / 1.029 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.8157, allocations: 47.84 kB / 1.029 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.8157, allocations: 8 kB / 1.029 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.8163, allocations: 127.6 kB / 1.029 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.8163, allocations: 32.08 kB / 1.029 GB, free: 8.121 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002005/0.8165, allocations: 192.5 kB / 1.029 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.8166, allocations: 19.81 kB / 1.029 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.8166, allocations: 30.58 kB / 1.029 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.8167, allocations: 4 kB / 1.029 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8167, allocations: 0 / 1.029 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8167, allocations: 0 / 1.029 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008549/0.8175, allocations: 0.7128 MB / 1.03 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.8175, allocations: 0 / 1.03 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.8176, allocations: 23.92 kB / 1.03 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.8176, allocations: 0 / 1.03 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.8176, allocations: 11.98 kB / 1.03 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.8177, allocations: 4 kB / 1.03 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8177, allocations: 0 / 1.03 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.8181, allocations: 426.8 kB / 1.031 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.8182, allocations: 100.8 kB / 1.031 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.8183, allocations: 11.98 kB / 1.031 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.8184, allocations: 7.984 kB / 1.031 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.8184, allocations: 27.95 kB / 1.031 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.8185, allocations: 16 kB / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.392e-05/0.8186, allocations: 125.2 kB / 1.031 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8186, allocations: 0 / 1.031 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004009/0.819, allocations: 91.94 kB / 1.031 GB, free: 6.242 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,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 (36): * Single equations (assignments): 23 * 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.0001951/0.8192, allocations: 137.4 kB / 1.031 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007591/0.82, allocations: 0.5373 MB / 1.032 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.82, allocations: 4 kB / 1.032 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.8202, allocations: 136.6 kB / 1.032 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.8205, allocations: 40.11 kB / 1.032 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008142/0.8213, allocations: 465.1 kB / 1.032 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.8217, allocations: 0.7526 MB / 1.033 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.8218, allocations: 35.16 kB / 1.033 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.8219, allocations: 27.44 kB / 1.033 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.8219, allocations: 0 / 1.033 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.007315/0.8292, allocations: 3.411 MB / 1.036 GB, free: 0.6406 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches