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.002283/0.002283, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002867/0.002867, allocations: 177.2 kB / 22.77 MB, free: 1.66 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 1.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.35/3.35, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.382e-06/1.382e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.756e-05, allocations: 4.703 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002111/0.002139, allocations: 0.8393 MB / 0.8782 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.003962, allocations: 1.184 MB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.004026, allocations: 2.188 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.004157, allocations: 15.86 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.004268, allocations: 19.8 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.004738, allocations: 147 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007099/0.005448, allocations: 351.3 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.005631, allocations: 62.91 kB / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.005902, allocations: 195.8 kB / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.006181, allocations: 151.7 kB / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.006268, allocations: 36 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.006397, allocations: 47.92 kB / 0.8804 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.006476, allocations: 47.84 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.006654, allocations: 108.7 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.007251, allocations: 454.8 kB / 0.881 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.007254, allocations: 0 / 0.881 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.71e-07/0.007255, allocations: 1.094 kB / 0.881 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.00726, allocations: 0 / 0.881 GB, free: 3.055 MB / 0.8386 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.0009675/0.008227, allocations: 0.6188 MB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.008263, allocations: 12.03 kB / 0.8816 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.008389, allocations: 36.84 kB / 0.8816 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.008869, allocations: 223.2 kB / 0.8818 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.008909, allocations: 12.38 kB / 0.8818 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.008971, allocations: 25.38 kB / 0.8819 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.009259, allocations: 142.9 kB / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.009271, allocations: 4.125 kB / 0.882 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.009291, allocations: 12.84 kB / 0.882 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.0093, allocations: 5.344 kB / 0.882 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.009522, allocations: 104.3 kB / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.01066, allocations: 0.6038 MB / 0.8827 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.01092, allocations: 122.9 kB / 0.8828 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.01103, allocations: 68.83 kB / 0.8829 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.01106, allocations: 4 kB / 0.8829 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.01135, allocations: 166 kB / 0.8831 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.01135, allocations: 0 / 0.8831 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0005735/0.01193, allocations: 284.8 kB / 0.8833 GB, free: 496 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.01198, allocations: 56.06 kB / 0.8834 GB, free: 428 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.01229, allocations: 278.8 kB / 0.8836 GB, free: 132 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.01234, allocations: 38.73 kB / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.01254, allocations: 195.1 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.01259, allocations: 43.69 kB / 0.8839 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.01279, allocations: 104 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003041/0.0131, allocations: 0.5047 MB / 0.8845 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.01359, allocations: 320.9 kB / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.01416, allocations: 406.8 kB / 0.8852 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.01473, allocations: 396.9 kB / 0.8856 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.01473, allocations: 0 / 0.8856 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001286/0.01602, allocations: 0.7352 MB / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.01614, allocations: 95.59 kB / 0.8864 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.01615, allocations: 4.562 kB / 0.8864 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.01617, allocations: 9.469 kB / 0.8864 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01629, allocations: 19.92 kB / 0.8864 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.0163, allocations: 0 / 0.8864 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.01708, allocations: 88.02 kB / 0.8865 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.01714, allocations: 23.98 kB / 0.8865 GB, free: 12.98 MB / 0.8542 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.0002364/0.01738, allocations: 197.1 kB / 0.8867 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.01742, allocations: 19.91 kB / 0.8867 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.01785, allocations: 215.3 kB / 0.8869 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.01786, allocations: 7.922 kB / 0.8869 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.01786, allocations: 3.984 kB / 0.8869 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01787, allocations: 7.938 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.01819, allocations: 224.5 kB / 0.8872 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01819, allocations: 0 / 0.8872 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.01826, allocations: 15.94 kB / 0.8872 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01826, allocations: 0 / 0.8872 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01828, allocations: 7.984 kB / 0.8872 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.01829, allocations: 4 kB / 0.8872 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01829, allocations: 3.938 kB / 0.8872 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.01869, allocations: 244.2 kB / 0.8874 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.01871, allocations: 11.91 kB / 0.8874 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.01873, allocations: 8 kB / 0.8875 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.01878, allocations: 11.98 kB / 0.8875 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.01885, allocations: 15.86 kB / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.01887, allocations: 11.98 kB / 0.8875 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001688/0.01904, allocations: 179.1 kB / 0.8877 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01904, allocations: 0 / 0.8877 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002984/0.01933, allocations: 67.89 kB / 0.8877 GB, free: 11.68 MB / 0.8542 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.000196/0.01953, allocations: 109.1 kB / 0.8878 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009598/0.02049, allocations: 0.6656 MB / 0.8885 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02049, allocations: 0 / 0.8885 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.02066, allocations: 95.55 kB / 0.8886 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.02097, allocations: 35.97 kB / 0.8886 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.02166, allocations: 374.8 kB / 0.889 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.02181, allocations: 132.5 kB / 0.8891 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.177e-05/0.02187, allocations: 17.48 kB / 0.8891 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.02193, allocations: 24.48 kB / 0.8891 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.02193, allocations: 0 / 0.8891 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.00857/0.0305, allocations: 4.032 MB / 0.8931 GB, free: 6.176 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] 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: 8.654276077984832]