Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00131/0.00131, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 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.001432/0.001432, allocations: 214.9 kB / 23.04 MB, free: 4.867 MB / 14.72 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 64.17 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3134, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002151/0.3155, allocations: 0.8195 MB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3171, allocations: 1.19 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.3172, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.3173, allocations: 15.86 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.751e-05/0.3174, allocations: 15.86 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.3179, allocations: 150.8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.3183, allocations: 343.4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3185, allocations: 66.73 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3187, allocations: 155.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.319, allocations: 159.6 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.319, allocations: 32 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3191, allocations: 47.98 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.3192, allocations: 43.91 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3194, allocations: 119.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.3198, allocations: 398.7 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3198, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3198, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.3198, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 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.0008683/0.3207, allocations: 0.522 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3208, allocations: 8.031 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.3208, allocations: 24.84 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.3213, allocations: 227.6 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.3213, allocations: 20.38 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.3214, allocations: 20.38 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.3217, allocations: 182.1 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3217, allocations: 192 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3217, allocations: 3.938 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3217, allocations: 4 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.3219, allocations: 151.9 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.3229, allocations: 0.5428 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3231, allocations: 118.5 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3232, allocations: 68.81 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3232, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.3235, allocations: 183.3 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3235, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000534/0.324, allocations: 299.3 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.324, allocations: 59.39 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.3242, allocations: 194.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.3243, allocations: 37.69 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3244, allocations: 132.4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.3244, allocations: 47.56 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.3246, allocations: 89.67 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3248, allocations: 326.8 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.3252, allocations: 316.9 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.3257, allocations: 385.5 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.3262, allocations: 397 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3262, allocations: 0 / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00105/0.3272, allocations: 0.7427 MB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.42e-05/0.3273, allocations: 97.09 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3273, allocations: 3.938 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3273, allocations: 4 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3275, allocations: 19.98 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3275, allocations: 0 / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.328, allocations: 107.9 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.328, allocations: 27.92 kB / 1.336 GB, free: 7.82 MB / 1.029 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.0001794/0.3282, allocations: 158.3 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.3282, allocations: 23.83 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.3286, allocations: 231.3 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3286, allocations: 4 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3286, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3287, allocations: 4 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.3289, allocations: 197.2 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3289, allocations: 0 / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.329, allocations: 15.98 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.329, allocations: 3.938 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.329, allocations: 7.984 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.329, allocations: 0 / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.329, allocations: 4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.3293, allocations: 247.5 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.3293, allocations: 11.91 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.3294, allocations: 11.92 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.3294, allocations: 8 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.3295, allocations: 19.97 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3295, allocations: 4 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001149/0.3296, allocations: 135.2 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3296, allocations: 0 / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003067/0.3299, allocations: 67.89 kB / 1.337 GB, free: 6.621 MB / 1.029 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.0001574/0.3301, allocations: 107.2 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.3309, allocations: 0.6202 MB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3309, allocations: 0 / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.331, allocations: 103.8 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3313, allocations: 33.98 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.3321, allocations: 417.4 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3322, allocations: 136.1 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.3323, allocations: 27.36 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3323, allocations: 0 / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of Templates: time 0.005562/0.3378, allocations: 3.319 MB / 1.341 GB, free: 1.781 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.464571978198364]