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) 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 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.75 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3733, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002388/0.3757, allocations: 0.8266 MB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3775, allocations: 1.158 MB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3776, allocations: 7.938 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3778, allocations: 15.86 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3779, allocations: 15.92 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.3785, allocations: 147.2 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.379, allocations: 359.4 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.3793, allocations: 118.2 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3794, allocations: 147.8 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.3797, allocations: 123.6 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.262e-05/0.3797, allocations: 36 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3799, allocations: 44 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.973e-05/0.38, allocations: 51.84 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.3802, allocations: 131.5 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.3806, allocations: 395.2 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3807, allocations: 4 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3807, allocations: 3.938 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.3807, allocations: 0 / 1.072 GB, free: 6.879 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.0008818/0.3816, allocations: 0.5758 MB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3816, allocations: 8.031 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3817, allocations: 32.75 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.3821, allocations: 277.8 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.3822, allocations: 20.3 kB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.3822, allocations: 24.38 kB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3826, allocations: 175.1 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3826, allocations: 192 / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3826, allocations: 15.92 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-06/0.3826, allocations: 4 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.3829, allocations: 151.9 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.3838, allocations: 0.664 MB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.384, allocations: 130.5 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3841, allocations: 80.8 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3841, allocations: 3.938 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.3844, allocations: 179.2 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.3844, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004979/0.3849, allocations: 296.4 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3849, allocations: 59.39 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3851, allocations: 194.1 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.3852, allocations: 37.7 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3853, allocations: 128.4 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3854, allocations: 39.53 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.3855, allocations: 81.67 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3856, allocations: 334.8 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.386, allocations: 227.7 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.3864, allocations: 270.7 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.3869, allocations: 390.1 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3869, allocations: 0 / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009208/0.3878, allocations: 0.631 MB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/0.3879, allocations: 98.69 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.3879, allocations: 0 / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.388, allocations: 4 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3881, allocations: 23.92 kB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3881, allocations: 4 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.3887, allocations: 103.7 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.3887, allocations: 23.98 kB / 1.077 GB, free: 1.312 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.0001778/0.3889, allocations: 164.2 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.3889, allocations: 23.69 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.3893, allocations: 235.3 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3893, allocations: 4 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3893, allocations: 0 / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3894, allocations: 11.97 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3896, allocations: 277.3 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3896, allocations: 0 / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.3897, allocations: 11.98 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3897, allocations: 0 / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3897, allocations: 12 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3897, allocations: 0 / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3897, allocations: 0 / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.3901, allocations: 254.2 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.3901, allocations: 88.95 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3902, allocations: 4 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.3902, allocations: 7.984 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.3903, allocations: 11.98 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.3903, allocations: 11.94 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001235/0.3904, allocations: 140.2 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3904, allocations: 0 / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003003/0.3907, allocations: 63.91 kB / 1.078 GB, free: 15.92 MB / 0.8419 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.0001711/0.3909, allocations: 111.8 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007351/0.3917, allocations: 0.5709 MB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3917, allocations: 0 / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.3918, allocations: 99.86 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3921, allocations: 44.33 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.3928, allocations: 381.7 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3931, allocations: 0.7512 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.393e-05/0.3932, allocations: 33.41 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3933, allocations: 19.38 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3933, allocations: 0 / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.007083/0.4003, allocations: 3.746 MB / 1.084 GB, free: 10.12 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) 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) Reference file matches