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.004126/0.004126, allocations: 98.73 kB / 15.73 MB, free: 6.496 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.001212/0.001212, allocations: 194.2 kB / 16.67 MB, free: 6.391 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.4 MB, free: 4.344 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.842/2.842, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.11 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2707, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001979/0.2728, allocations: 0.8272 MB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2743, allocations: 1.174 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.2743, allocations: 4 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.883e-05/0.2744, allocations: 11.88 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.2745, allocations: 15.86 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.275, allocations: 151.4 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.2754, allocations: 359.5 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.2757, allocations: 110.5 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2758, allocations: 151.7 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.2761, allocations: 143.6 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.2762, allocations: 32 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2763, allocations: 43.98 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.2764, allocations: 51.84 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2765, allocations: 127.5 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.277, allocations: 406.7 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.277, allocations: 0 / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.277, allocations: 0 / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.277, allocations: 0 / 1.224 GB, free: 10.77 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.0008137/0.2778, allocations: 0.5856 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2779, allocations: 8.031 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.278, allocations: 50.73 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.278, allocations: 28.73 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2784, allocations: 289.4 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.2785, allocations: 16.38 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.2785, allocations: 24.38 kB / 1.225 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.2788, allocations: 182.6 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2789, allocations: 3.938 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2789, allocations: 4 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2789, allocations: 7.938 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.2792, allocations: 143.9 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009781/0.2801, allocations: 0.6758 MB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.2804, allocations: 122.5 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.2805, allocations: 80.73 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.2805, allocations: 192 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.2808, allocations: 180.4 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2808, allocations: 0 / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.000543/0.2813, allocations: 300.5 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.2814, allocations: 55.34 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2816, allocations: 186.3 kB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.2816, allocations: 37.7 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2818, allocations: 136.5 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.2818, allocations: 39.69 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.282, allocations: 89.66 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2822, allocations: 330.8 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.2826, allocations: 219.8 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.283, allocations: 276 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.2835, allocations: 397.7 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2835, allocations: 0 / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001041/0.2846, allocations: 0.6309 MB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/0.2847, allocations: 93.09 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2847, allocations: 0 / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2847, allocations: 4 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2848, allocations: 19.98 kB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2848, allocations: 11.88 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.2854, allocations: 104 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.2855, allocations: 23.98 kB / 1.229 GB, free: 5.129 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.0001825/0.2856, allocations: 163.3 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.2857, allocations: 15.91 kB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.2861, allocations: 239.3 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2861, allocations: 4 kB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2861, allocations: 0 / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2861, allocations: 0 / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.2864, allocations: 277.4 kB / 1.229 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2864, allocations: 0 / 1.229 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.2865, allocations: 11.98 kB / 1.229 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2865, allocations: 3.984 kB / 1.229 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2865, allocations: 8 kB / 1.229 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2866, allocations: 0 / 1.229 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2866, allocations: 3.938 kB / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.2869, allocations: 256.7 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.287, allocations: 89.02 kB / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.287, allocations: 4 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.2871, allocations: 11.98 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.2871, allocations: 11.98 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2872, allocations: 8 kB / 1.23 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001206/0.2873, allocations: 140.2 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2873, allocations: 4 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003137/0.2876, allocations: 71.88 kB / 1.23 GB, free: 3.73 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.0007044/0.2883, allocations: 0.7929 MB / 1.231 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000813/0.2892, allocations: 0.5682 MB / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2892, allocations: 0 / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.2893, allocations: 91.94 kB / 1.231 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.2896, allocations: 35.95 kB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.2938, allocations: 3.152 MB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.2942, allocations: 0.7474 MB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.869e-05/0.2943, allocations: 29.42 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.2944, allocations: 55.34 kB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2944, allocations: 0 / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.3209, allocations: 5.697 MB / 1.241 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.05, allocations: 0 / 1.241 GB, free: 8.508 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv --start-time 0 --stop-time 2000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 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.csv","/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) "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_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_11_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