Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 109 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 59.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.009, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002351/1.011, allocations: 0.8332 MB / 1.263 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00183/1.013, allocations: 1.172 MB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/1.013, allocations: 1.656 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/1.013, allocations: 16.59 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/1.013, allocations: 7.781 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/1.014, allocations: 142.5 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/1.014, allocations: 376.7 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/1.015, allocations: 109.6 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/1.015, allocations: 145.7 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/1.015, allocations: 139.9 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.981e-05/1.015, allocations: 32.91 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/1.015, allocations: 55.14 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/1.015, allocations: 44.62 kB / 1.266 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/1.016, allocations: 139.9 kB / 1.266 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/1.016, allocations: 393.8 kB / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.016, allocations: 0 / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/1.016, allocations: 4.906 kB / 1.266 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.703e-06/1.016, allocations: 0 / 1.266 GB, free: 5.984 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007417/1.017, allocations: 0.5823 MB / 1.267 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.017, allocations: 10.09 kB / 1.267 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.871e-05/1.017, allocations: 33.25 kB / 1.267 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/1.017, allocations: 278.1 kB / 1.267 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/1.018, allocations: 16.38 kB / 1.267 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/1.018, allocations: 23.92 kB / 1.267 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/1.018, allocations: 189.9 kB / 1.267 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.018, allocations: 192 / 1.267 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/1.018, allocations: 10.52 kB / 1.267 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.018, allocations: 3.438 kB / 1.267 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/1.018, allocations: 148.9 kB / 1.267 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/1.019, allocations: 0.659 MB / 1.268 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/1.019, allocations: 125.9 kB / 1.268 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.02, allocations: 74.28 kB / 1.268 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/1.02, allocations: 6.109 kB / 1.268 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/1.02, allocations: 185.6 kB / 1.268 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/1.02, allocations: 0 / 1.268 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0005632/1.021, allocations: 294.7 kB / 1.269 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/1.021, allocations: 61.42 kB / 1.269 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/1.021, allocations: 189.7 kB / 1.269 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/1.021, allocations: 37.17 kB / 1.269 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/1.021, allocations: 140.7 kB / 1.269 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/1.021, allocations: 40.92 kB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/1.021, allocations: 84.48 kB / 1.269 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/1.021, allocations: 324.6 kB / 1.269 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/1.022, allocations: 220.8 kB / 1.27 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/1.022, allocations: 293.1 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/1.022, allocations: 387.6 kB / 1.27 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.022, allocations: 4.938 kB / 1.27 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000989/1.023, allocations: 0.6183 MB / 1.271 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/1.023, allocations: 102.3 kB / 1.271 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.024, allocations: 2.125 kB / 1.271 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.024, allocations: 2.812 kB / 1.271 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.024, allocations: 22.59 kB / 1.271 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.024, allocations: 3.828 kB / 1.271 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/1.024, allocations: 111.3 kB / 1.271 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/1.024, allocations: 25.38 kB / 1.271 GB, free: 2.801 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/1.024, allocations: 163.3 kB / 1.271 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/1.024, allocations: 13.77 kB / 1.271 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/1.025, allocations: 237.3 kB / 1.272 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.025, allocations: 3.094 kB / 1.272 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/1.025, allocations: 0 / 1.272 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.025, allocations: 4 kB / 1.272 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/1.025, allocations: 271.1 kB / 1.272 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.025, allocations: 0.5156 kB / 1.272 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/1.025, allocations: 16.52 kB / 1.272 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.025, allocations: 0.8125 kB / 1.272 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/1.025, allocations: 4.531 kB / 1.272 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/1.025, allocations: 0 / 1.272 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.025, allocations: 0 / 1.272 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/1.026, allocations: 252.9 kB / 1.272 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/1.026, allocations: 93.55 kB / 1.272 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/1.026, allocations: 5.812 kB / 1.272 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/1.026, allocations: 3.203 kB / 1.272 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/1.026, allocations: 19.84 kB / 1.272 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/1.026, allocations: 9.203 kB / 1.272 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001072/1.026, allocations: 139 kB / 1.272 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.026, allocations: 3.938 kB / 1.272 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003485/1.026, allocations: 72.02 kB / 1.272 GB, free: 1.965 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001666/1.026, allocations: 112 kB / 1.273 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007332/1.027, allocations: 0.5658 MB / 1.273 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.027, allocations: 0 / 1.273 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/1.027, allocations: 103.6 kB / 1.273 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/1.028, allocations: 46.89 kB / 1.273 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/1.028, allocations: 408.8 kB / 1.274 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/1.028, allocations: 0.7453 MB / 1.274 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/1.028, allocations: 16.84 kB / 1.274 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.028, allocations: 0 / 1.274 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of Templates: time 0.006726/1.035, allocations: 3.272 MB / 1.278 GB, free: 256 kB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.516650441102684]