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: "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, 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.001927/0.001927, allocations: 196.4 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.726/2.726, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.75 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002377/0.3356, allocations: 0.8254 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3375, allocations: 1.178 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3376, allocations: 4 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.3378, allocations: 15.86 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3379, allocations: 15.86 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.3385, allocations: 138.1 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.339, allocations: 359.4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.3393, allocations: 110.5 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.3395, allocations: 147.7 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.3398, allocations: 123.6 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3399, allocations: 32 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.34, allocations: 51.98 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.451e-05/0.3401, allocations: 51.83 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.3403, allocations: 131.5 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.3409, allocations: 387.3 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3409, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3409, allocations: 4 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.3409, allocations: 3.984 kB / 1.068 GB, free: 10.64 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.001022/0.3419, allocations: 0.578 MB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.342, allocations: 8.031 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/0.342, allocations: 42.73 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.3421, allocations: 24.75 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.3425, allocations: 281.8 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.3426, allocations: 24.36 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.3427, allocations: 20.38 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.343, allocations: 183.3 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.343, allocations: 7.938 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.3431, allocations: 4 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3431, allocations: 4 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.3434, allocations: 152.4 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3445, allocations: 0.664 MB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.3447, allocations: 130.4 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3449, allocations: 76.75 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3449, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.3452, allocations: 183.2 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.3452, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005609/0.3458, allocations: 298.4 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.3459, allocations: 55.41 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.3461, allocations: 190.3 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.3461, allocations: 37.69 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3463, allocations: 136.3 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.3463, allocations: 39.39 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.3465, allocations: 89.67 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3467, allocations: 326.8 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.3471, allocations: 223.8 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.3476, allocations: 282.6 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.3481, allocations: 385.8 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3481, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001047/0.3492, allocations: 0.6362 MB / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/0.3493, allocations: 102.5 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.3493, allocations: 4 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3493, allocations: 4 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3494, allocations: 15.94 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3495, allocations: 7.984 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.35, allocations: 107.9 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.3501, allocations: 23.98 kB / 1.073 GB, free: 5.008 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.0001978/0.3503, allocations: 170.9 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.3503, allocations: 15.81 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.3507, allocations: 229.1 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3507, allocations: 4 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3507, allocations: 0 / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3508, allocations: 0 / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.3511, allocations: 281.3 kB / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3511, allocations: 0 / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.3511, allocations: 19.92 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.3512, allocations: 4 kB / 1.073 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3512, allocations: 0 / 1.073 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3512, allocations: 4 kB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3512, allocations: 0 / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.3516, allocations: 247.2 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.3517, allocations: 92.86 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.3517, allocations: 4 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.3518, allocations: 7.984 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.3518, allocations: 11.98 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3519, allocations: 11.94 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001219/0.352, allocations: 136.2 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.352, allocations: 3.938 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003089/0.3523, allocations: 71.83 kB / 1.074 GB, free: 3.625 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.0007721/0.3531, allocations: 0.784 MB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008886/0.354, allocations: 0.5798 MB / 1.075 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.354, allocations: 0 / 1.075 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.3542, allocations: 95.88 kB / 1.075 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3545, allocations: 35.95 kB / 1.075 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.3592, allocations: 3.14 MB / 1.078 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.3598, allocations: 0.7513 MB / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.3599, allocations: 33.41 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.3601, allocations: 51.41 kB / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of SimCode: time 1.042e-06/0.3601, allocations: 0 / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/0.4066, allocations: 5.625 MB / 1.085 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.74, allocations: 10.31 kB / 1.085 GB, free: 8.445 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > 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