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.001491/0.001491, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00156/0.00156, allocations: 200 kB / 22.17 MB, free: 5.211 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.312/1.312, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 179] 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.921/2.921, allocations: 497.2 MB / 0.7845 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] 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.001894/0.001894, allocations: 68.2 kB / 1.139 GB, free: 33.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3247, allocations: 173.9 MB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002063/0.3268, allocations: 0.8454 MB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3282, allocations: 1.17 MB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.3283, allocations: 0 / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.3284, allocations: 19.88 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.663e-05/0.3285, allocations: 15.8 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.3289, allocations: 150.4 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.3293, allocations: 347.4 kB / 1.312 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.3295, allocations: 62.5 kB / 1.312 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.3297, allocations: 151.7 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.3299, allocations: 135.6 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.33, allocations: 32 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.3301, allocations: 51.98 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.419e-05/0.3301, allocations: 55.84 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.3303, allocations: 127.5 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.3307, allocations: 402.7 kB / 1.313 GB, free: 12.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3307, allocations: 0 / 1.313 GB, free: 12.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3307, allocations: 3.938 kB / 1.313 GB, free: 12.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3307, allocations: 0 / 1.313 GB, free: 12.5 MB / 1.014 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.0008099/0.3315, allocations: 0.5817 MB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3316, allocations: 8.922 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.3317, allocations: 28.84 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.3321, allocations: 286.3 kB / 1.314 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.3321, allocations: 20.38 kB / 1.314 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.3322, allocations: 24.38 kB / 1.314 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.3325, allocations: 179.1 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3325, allocations: 8.109 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3325, allocations: 11.88 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3325, allocations: 4 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.3328, allocations: 144.4 kB / 1.314 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.3337, allocations: 0.6641 MB / 1.315 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.334, allocations: 122.4 kB / 1.315 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3341, allocations: 72.8 kB / 1.315 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3341, allocations: 3.938 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3343, allocations: 181.1 kB / 1.315 GB, free: 9.996 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3343, allocations: 0 / 1.315 GB, free: 9.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.000509/0.3348, allocations: 301.5 kB / 1.315 GB, free: 9.695 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3349, allocations: 55.41 kB / 1.315 GB, free: 9.629 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.335, allocations: 194.3 kB / 1.315 GB, free: 9.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.3351, allocations: 29.7 kB / 1.316 GB, free: 9.395 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3352, allocations: 140.5 kB / 1.316 GB, free: 9.254 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3352, allocations: 35.7 kB / 1.316 GB, free: 9.219 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.3354, allocations: 93.61 kB / 1.316 GB, free: 9.121 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3355, allocations: 326.8 kB / 1.316 GB, free: 8.793 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.3359, allocations: 219.8 kB / 1.316 GB, free: 8.578 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.3363, allocations: 279.5 kB / 1.317 GB, free: 8.285 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.3367, allocations: 397.2 kB / 1.317 GB, free: 7.855 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3367, allocations: 4 kB / 1.317 GB, free: 7.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000942/0.3377, allocations: 0.6348 MB / 1.318 GB, free: 7.191 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.3378, allocations: 97.09 kB / 1.318 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3378, allocations: 4 kB / 1.318 GB, free: 7.074 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3378, allocations: 4 kB / 1.318 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3379, allocations: 19.92 kB / 1.318 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3379, allocations: 4.219 kB / 1.318 GB, free: 7.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.3384, allocations: 107.8 kB / 1.318 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.3384, allocations: 23.98 kB / 1.318 GB, free: 6.918 MB / 1.014 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.0001718/0.3386, allocations: 173.7 kB / 1.318 GB, free: 6.738 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.3386, allocations: 23.78 kB / 1.318 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.339, allocations: 230.2 kB / 1.318 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.339, allocations: 0 / 1.318 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.339, allocations: 0 / 1.318 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.339, allocations: 7.984 kB / 1.318 GB, free: 6.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.3393, allocations: 277.4 kB / 1.318 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3393, allocations: 0 / 1.318 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.3393, allocations: 15.92 kB / 1.318 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3393, allocations: 0 / 1.318 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3393, allocations: 8 kB / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3393, allocations: 0 / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3393, allocations: 0 / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.3397, allocations: 244.8 kB / 1.319 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.3397, allocations: 92.95 kB / 1.319 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3398, allocations: 8 kB / 1.319 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.3398, allocations: 3.984 kB / 1.319 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.3399, allocations: 15.98 kB / 1.319 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3399, allocations: 8 kB / 1.319 GB, free: 5.734 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001091/0.34, allocations: 136.2 kB / 1.319 GB, free: 5.602 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.34, allocations: 0 / 1.319 GB, free: 5.602 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002923/0.3403, allocations: 71.88 kB / 1.319 GB, free: 5.531 MB / 1.014 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.0001557/0.3404, allocations: 108.6 kB / 1.319 GB, free: 5.414 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007188/0.3411, allocations: 0.5171 MB / 1.32 GB, free: 4.863 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3411, allocations: 4.062 kB / 1.32 GB, free: 4.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.3413, allocations: 90.69 kB / 1.32 GB, free: 4.773 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3416, allocations: 41.61 kB / 1.32 GB, free: 4.734 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.3422, allocations: 395.4 kB / 1.32 GB, free: 4.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3426, allocations: 0.7591 MB / 1.321 GB, free: 3.535 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.571e-05/0.3426, allocations: 25.42 kB / 1.321 GB, free: 3.512 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.3427, allocations: 23.36 kB / 1.321 GB, free: 3.488 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.3427, allocations: 0 / 1.321 GB, free: 3.488 MB / 1.014 GB Notification: Performance of Templates: time 0.006997/0.3497, allocations: 3.766 MB / 1.325 GB, free: 15.75 MB / 1.029 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 -s gbode -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: 8.02255449211225]