Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 106.1 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 196.4 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 469.8 MB / 0.7427 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 77.66 kB / 0.9087 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3207, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00253/0.3233, allocations: 0.8901 MB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3251, allocations: 1.17 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.3252, allocations: 4 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.3253, allocations: 11.86 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3254, allocations: 11.92 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.3259, allocations: 127.5 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.3264, allocations: 363.4 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.3266, allocations: 106.5 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.3268, allocations: 151.7 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.327, allocations: 131.6 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.77e-05/0.3271, allocations: 35.94 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3272, allocations: 44 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.3273, allocations: 43.84 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.3275, allocations: 139.5 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.3279, allocations: 295.7 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3279, allocations: 3.938 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3279, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3279, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8262 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.00101/0.3289, allocations: 0.5741 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.329, allocations: 8.031 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.3291, allocations: 24.75 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.3294, allocations: 285.3 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.3295, allocations: 16.38 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.3296, allocations: 20.38 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.3299, allocations: 182.1 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3299, allocations: 4.188 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.33, allocations: 7.938 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.33, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.3302, allocations: 147.9 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3313, allocations: 0.6678 MB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3315, allocations: 122.5 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3316, allocations: 80.73 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.3316, allocations: 4.125 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.3319, allocations: 184.9 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3319, allocations: 0 / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005685/0.3325, allocations: 289.4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3326, allocations: 63.28 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.3328, allocations: 190.9 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.3328, allocations: 33.7 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.333, allocations: 136.4 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.333, allocations: 39.47 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3332, allocations: 89.66 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3334, allocations: 326.8 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.3338, allocations: 219.8 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.3342, allocations: 279.8 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.3347, allocations: 390.1 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3347, allocations: 4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001036/0.3358, allocations: 0.6308 MB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/0.3359, allocations: 93.09 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3359, allocations: 0 / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3359, allocations: 4 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3361, allocations: 19.98 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3361, allocations: 7.938 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.3367, allocations: 107.9 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.3367, allocations: 23.98 kB / 1.073 GB, free: 5.504 MB / 0.8262 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.0002056/0.3369, allocations: 162.9 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.337, allocations: 23.75 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.3374, allocations: 241 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3374, allocations: 4 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3374, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3374, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3377, allocations: 281.3 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3377, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.3378, allocations: 8 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3378, allocations: 4 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3378, allocations: 7.984 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3378, allocations: 7.938 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3379, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.3382, allocations: 247.2 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.3383, allocations: 92.86 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3383, allocations: 3.984 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.3384, allocations: 8 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.3384, allocations: 15.91 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3385, allocations: 8 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001228/0.3386, allocations: 143.5 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3386, allocations: 0 / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003117/0.3389, allocations: 63.91 kB / 1.074 GB, free: 4.113 MB / 0.8262 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.0001734/0.3391, allocations: 107.2 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008423/0.3399, allocations: 0.572 MB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.34, allocations: 448 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.3401, allocations: 111.9 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3405, allocations: 37.78 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.3412, allocations: 466.9 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.3416, allocations: 0.7513 MB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.3417, allocations: 15.44 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3417, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of Templates: time 0.006005/0.3477, allocations: 3.258 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches