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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_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.007569/0.007569, allocations: 101 kB / 15.73 MB, free: 6.445 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.00179/0.00179, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.716/2.716, allocations: 469.4 MB / 0.7421 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.91 kB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 159.1 MB / 1.22 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002139/0.3148, allocations: 0.8383 MB / 1.221 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3162, allocations: 1.17 MB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.3163, allocations: 4 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.3164, allocations: 19.86 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3165, allocations: 11.88 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.317, allocations: 150.9 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000424/0.3175, allocations: 367.4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.3177, allocations: 102.5 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.3179, allocations: 151.7 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.3181, allocations: 143.6 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.465e-05/0.3182, allocations: 32 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3183, allocations: 43.98 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.3183, allocations: 55.83 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.3185, allocations: 127.5 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.319, allocations: 402.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.319, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.319, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.319, allocations: 3.938 kB / 1.223 GB, free: 11.14 MB / 0.9825 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.0008828/0.3199, allocations: 0.595 MB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.32, allocations: 8.031 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.32, allocations: 46.75 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.3201, allocations: 32.78 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.3205, allocations: 276.7 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.3206, allocations: 20.36 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.3207, allocations: 24.38 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.321, allocations: 178.6 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.321, allocations: 3.938 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.321, allocations: 8 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.321, allocations: 4 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.3213, allocations: 151.8 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3223, allocations: 0.6602 MB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3225, allocations: 130.4 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3226, allocations: 76.75 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3227, allocations: 4 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.3229, allocations: 171.2 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3229, allocations: 0 / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004858/0.3234, allocations: 301.5 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.3235, allocations: 55.41 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3236, allocations: 194.3 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.3237, allocations: 29.7 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3238, allocations: 140.5 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.3238, allocations: 39.69 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.324, allocations: 81.67 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3241, allocations: 330.8 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.3245, allocations: 223.8 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.3248, allocations: 283.5 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.3253, allocations: 393.5 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3253, allocations: 3.938 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009159/0.3262, allocations: 0.627 MB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-05/0.3263, allocations: 93.09 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3263, allocations: 0 / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3263, allocations: 8.219 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3265, allocations: 19.98 kB / 1.228 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3265, allocations: 7.938 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.327, allocations: 99.75 kB / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.3271, allocations: 27.98 kB / 1.228 GB, free: 5.5 MB / 0.9825 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.0001629/0.3272, allocations: 170.4 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3273, allocations: 23.83 kB / 1.229 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.3276, allocations: 238 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3276, allocations: 4 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3276, allocations: 0 / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3276, allocations: 3.984 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3279, allocations: 273.4 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3279, allocations: 0 / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.3279, allocations: 15.98 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.328, allocations: 0 / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.328, allocations: 8 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.328, allocations: 3.938 kB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.328, allocations: 3.984 kB / 1.229 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.3283, allocations: 244.8 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.3284, allocations: 89.02 kB / 1.229 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3284, allocations: 4 kB / 1.229 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.3284, allocations: 11.98 kB / 1.229 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.3285, allocations: 11.98 kB / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3285, allocations: 11.98 kB / 1.229 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001051/0.3286, allocations: 140.2 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3286, allocations: 0 / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002978/0.3289, allocations: 67.89 kB / 1.23 GB, free: 4.102 MB / 0.9825 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.0006038/0.3295, allocations: 0.7899 MB / 1.23 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007174/0.3303, allocations: 0.5701 MB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3303, allocations: 0 / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3304, allocations: 95.88 kB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3307, allocations: 40.34 kB / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.3345, allocations: 3.151 MB / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3348, allocations: 0.7474 MB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.402e-05/0.3349, allocations: 29.41 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.3349, allocations: 47.42 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.335, allocations: 0 / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.3571, allocations: 5.702 MB / 1.241 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.25, allocations: 3.75 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv --start-time 0 --stop-time 2000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[521]=2000.000000 File[1036]=1024.800000 Error: Could not read variable conCom.y1[1] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " Variables in the reference:time,conCom.y1[1],conCom.y1[2],conCom.y1[3],conCom.y1One,conCom.nUniOn,conCom.nUniOnBou Variables in the result:time,conCom.booToRea[1].y,conCom.booToRea[2].y,conCom.booToRea[3].y,conCom.nUniOn,conCom.nUniOnBou