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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008643/0.0008643, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8644/0.8644, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.721/1.721, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.833e-06/1.833e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.054e-05, allocations: 5.234 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001286/0.001307, allocations: 0.8109 MB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.002372, allocations: 1.197 MB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.002435, allocations: 7.938 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.002535, allocations: 11.92 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.312e-05/0.002628, allocations: 11.88 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.002986, allocations: 143.5 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.003276, allocations: 351.3 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.003417, allocations: 66.91 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.003561, allocations: 203.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.003734, allocations: 151.7 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.003774, allocations: 32 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.003855, allocations: 47.92 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.003909, allocations: 51.83 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.004001, allocations: 103.8 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.004336, allocations: 450.9 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004338, allocations: 0 / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004339, allocations: 0 / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004343, allocations: 4 kB / 1.004 GB, free: 9.426 MB / 0.9636 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.0005613/0.004904, allocations: 0.5064 MB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.004936, allocations: 12.03 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.004996, allocations: 28.84 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.005323, allocations: 234.1 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.005356, allocations: 20.36 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.005391, allocations: 24.38 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.005598, allocations: 186.1 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005607, allocations: 192 / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.005621, allocations: 8.359 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.005627, allocations: 8.312 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.005789, allocations: 151.8 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.006377, allocations: 0.5311 MB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.006522, allocations: 126.4 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.006589, allocations: 72.73 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.006608, allocations: 0 / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.00678, allocations: 175.4 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.006782, allocations: 3.938 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0003568/0.007138, allocations: 307.7 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.007173, allocations: 55.41 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.007286, allocations: 191.7 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.007317, allocations: 37.7 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.007392, allocations: 140.4 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.007415, allocations: 35.7 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.007508, allocations: 89.61 kB / 1.007 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.007583, allocations: 326.8 kB / 1.008 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.007853, allocations: 320.9 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.008129, allocations: 383.7 kB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.008422, allocations: 393.8 kB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008424, allocations: 0 / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006155/0.00904, allocations: 0.732 MB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.009084, allocations: 97.12 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009089, allocations: 4 kB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.009103, allocations: 7.938 kB / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.009181, allocations: 23.92 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.009185, allocations: 0 / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.009434, allocations: 103.8 kB / 1.01 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.009462, allocations: 23.98 kB / 1.01 GB, free: 3.789 MB / 0.9636 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.0001062/0.009568, allocations: 169.7 kB / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.009582, allocations: 11.91 kB / 1.01 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.009823, allocations: 231.4 kB / 1.01 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.009828, allocations: 7.938 kB / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.009832, allocations: 0 / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009836, allocations: 0 / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.009958, allocations: 193.2 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.009959, allocations: 7.938 kB / 1.01 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.009997, allocations: 15.92 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.01, allocations: 4 kB / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.01001, allocations: 4 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01001, allocations: 4 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01001, allocations: 3.938 kB / 1.01 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.01021, allocations: 251.5 kB / 1.01 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.01022, allocations: 11.91 kB / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.01023, allocations: 4 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.01026, allocations: 7.984 kB / 1.01 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.0103, allocations: 23.91 kB / 1.01 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01031, allocations: 15.92 kB / 1.01 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.453e-05/0.01037, allocations: 135.2 kB / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001878/0.01056, allocations: 71.83 kB / 1.011 GB, free: 2.57 MB / 0.9636 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.0001141/0.01067, allocations: 103.2 kB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004852/0.01116, allocations: 0.6165 MB / 1.011 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01116, allocations: 4.062 kB / 1.011 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.01125, allocations: 95.86 kB / 1.011 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01144, allocations: 35.95 kB / 1.012 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.01195, allocations: 414.9 kB / 1.012 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.641e-05/0.01203, allocations: 136.1 kB / 1.012 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.01207, allocations: 24.5 kB / 1.012 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.01207, allocations: 0 / 1.012 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of Templates: time 0.0033/0.01537, allocations: 3.301 MB / 1.015 GB, free: 13.77 MB / 0.9792 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.78016812633723]