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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 211.9 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.057/3.057, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 70.31 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002465/0.3324, allocations: 0.818 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3342, allocations: 1.176 MB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.3343, allocations: 4 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3344, allocations: 23.8 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.3345, allocations: 15.92 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.3351, allocations: 146.2 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.3356, allocations: 343.3 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.3358, allocations: 63.02 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.336, allocations: 155.7 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.3363, allocations: 159.6 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/0.3364, allocations: 36 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3365, allocations: 47.98 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.3366, allocations: 39.91 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.3368, allocations: 127.6 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.3372, allocations: 394.8 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3372, allocations: 3.984 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3372, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3372, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 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.0008385/0.3381, allocations: 0.5025 MB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3381, allocations: 15.91 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.3382, allocations: 50.73 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.747e-05/0.3382, allocations: 32.8 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.3387, allocations: 226.9 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.3387, allocations: 20.36 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.3388, allocations: 24.38 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.3391, allocations: 198.5 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3391, allocations: 3.938 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3391, allocations: 4 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3391, allocations: 4 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.3393, allocations: 143.9 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3404, allocations: 0.5696 MB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3406, allocations: 130.4 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3407, allocations: 64.75 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3407, allocations: 4 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.3409, allocations: 175.2 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.3409, allocations: 0 / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0005288/0.3415, allocations: 303.9 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3415, allocations: 63.41 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3417, allocations: 186.5 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.3418, allocations: 41.69 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3419, allocations: 128.4 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.3419, allocations: 47.67 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.3421, allocations: 81.67 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3422, allocations: 322.8 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.3427, allocations: 324.9 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.3431, allocations: 387.5 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.3436, allocations: 395.6 kB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3436, allocations: 4 kB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001022/0.3446, allocations: 0.736 MB / 1.372 GB, free: 5.102 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/0.3447, allocations: 93.31 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3447, allocations: 7.938 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3447, allocations: 4 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3448, allocations: 23.92 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3449, allocations: 4 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.3453, allocations: 103.8 kB / 1.372 GB, free: 4.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.3454, allocations: 23.97 kB / 1.372 GB, free: 4.828 MB / 1.061 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.0001865/0.3456, allocations: 167.9 kB / 1.372 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3456, allocations: 15.91 kB / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.346, allocations: 235.3 kB / 1.372 GB, free: 4.398 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.346, allocations: 3.938 kB / 1.372 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.346, allocations: 0 / 1.372 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.346, allocations: 0 / 1.372 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3462, allocations: 232.5 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3462, allocations: 8 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.3463, allocations: 15.92 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3463, allocations: 0 / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3463, allocations: 8 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3463, allocations: 0 / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.3463, allocations: 4 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.3467, allocations: 255.5 kB / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.3467, allocations: 11.91 kB / 1.373 GB, free: 3.812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3467, allocations: 4 kB / 1.373 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.3468, allocations: 7.984 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.3468, allocations: 19.95 kB / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.3468, allocations: 12 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001068/0.3469, allocations: 140.2 kB / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3469, allocations: 0 / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002843/0.3472, allocations: 71.83 kB / 1.373 GB, free: 3.562 MB / 1.061 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.0006555/0.3479, allocations: 0.7879 MB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008005/0.3487, allocations: 0.62 MB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3487, allocations: 448 / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.3488, allocations: 91.88 kB / 1.375 GB, free: 1.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.3491, allocations: 33.28 kB / 1.375 GB, free: 1.949 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.3533, allocations: 3.578 MB / 1.378 GB, free: 14.15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.3535, allocations: 143.8 kB / 1.378 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.908e-05/0.3536, allocations: 29.41 kB / 1.378 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.3537, allocations: 47.42 kB / 1.378 GB, free: 13.91 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.3537, allocations: 0 / 1.378 GB, free: 13.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.3874, allocations: 6.568 MB / 1.385 GB, free: 7.547 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.19, allocations: 11.17 kB / 1.385 GB, free: 7.539 MB / 1.076 GB " [Timeout remaining time 289] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "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! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.51343078771606]