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.001317/0.001317, allocations: 108.6 kB / 16.46 MB, free: 6.453 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.001449/0.001449, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.194/3.194, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.002001/0.002001, allocations: 76.88 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002026/0.3411, allocations: 0.8337 MB / 1.349 GB, free: 9.176 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3427, allocations: 1.202 MB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.3427, allocations: 7.938 kB / 1.35 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.3428, allocations: 11.86 kB / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/0.3429, allocations: 15.88 kB / 1.35 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.3434, allocations: 142 kB / 1.35 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.3439, allocations: 351.4 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.3441, allocations: 86.73 kB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.3442, allocations: 151.7 kB / 1.35 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3445, allocations: 151.5 kB / 1.351 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/0.3446, allocations: 32 kB / 1.351 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3447, allocations: 43.98 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.3447, allocations: 51.83 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3449, allocations: 131.5 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.3453, allocations: 394.8 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3453, allocations: 3.938 kB / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3453, allocations: 0 / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3453, allocations: 0 / 1.351 GB, free: 6.418 MB / 1.045 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.0008645/0.3462, allocations: 0.5855 MB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3463, allocations: 19.98 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.144e-05/0.3463, allocations: 46.73 kB / 1.352 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.155e-05/0.3464, allocations: 28.8 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.3468, allocations: 276.7 kB / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.3468, allocations: 16.36 kB / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.3469, allocations: 24.38 kB / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.3472, allocations: 178.1 kB / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3472, allocations: 7.938 kB / 1.352 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.3472, allocations: 4 kB / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3472, allocations: 8 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.3475, allocations: 143.9 kB / 1.353 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.3485, allocations: 0.664 MB / 1.353 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3487, allocations: 118.5 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3488, allocations: 76.69 kB / 1.353 GB, free: 4.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3488, allocations: 8 kB / 1.353 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.3491, allocations: 173.5 kB / 1.354 GB, free: 3.863 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3491, allocations: 0 / 1.354 GB, free: 3.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0005531/0.3496, allocations: 293.4 kB / 1.354 GB, free: 3.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3497, allocations: 55.41 kB / 1.354 GB, free: 3.504 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3499, allocations: 194.5 kB / 1.354 GB, free: 3.305 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.3499, allocations: 41.7 kB / 1.354 GB, free: 3.258 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3501, allocations: 140.4 kB / 1.354 GB, free: 3.117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.3501, allocations: 39.73 kB / 1.354 GB, free: 3.078 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.3503, allocations: 85.61 kB / 1.354 GB, free: 2.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.3505, allocations: 326.8 kB / 1.355 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.3509, allocations: 223.8 kB / 1.355 GB, free: 2.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.3514, allocations: 290.6 kB / 1.355 GB, free: 2.133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.352, allocations: 397.6 kB / 1.356 GB, free: 1.703 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.352, allocations: 0 / 1.356 GB, free: 1.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001031/0.353, allocations: 0.6309 MB / 1.356 GB, free: 1.047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/0.3531, allocations: 97.09 kB / 1.356 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3531, allocations: 4 kB / 1.356 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3531, allocations: 8.141 kB / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3532, allocations: 16 kB / 1.356 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/0.3532, allocations: 4 kB / 1.356 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.3538, allocations: 107.8 kB / 1.356 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.3538, allocations: 19.98 kB / 1.356 GB, free: 0.7773 MB / 1.045 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.0001886/0.354, allocations: 177.6 kB / 1.357 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3541, allocations: 15.89 kB / 1.357 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.3545, allocations: 236.8 kB / 1.357 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3545, allocations: 0 / 1.357 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3545, allocations: 0 / 1.357 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3545, allocations: 0 / 1.357 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.3548, allocations: 277.4 kB / 1.357 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3548, allocations: 0 / 1.357 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.3549, allocations: 24.02 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3549, allocations: 0 / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3549, allocations: 0 / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3549, allocations: 3.938 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3549, allocations: 4 kB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.3553, allocations: 244.8 kB / 1.357 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.3553, allocations: 89 kB / 1.357 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3554, allocations: 7.984 kB / 1.357 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.3554, allocations: 8 kB / 1.357 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.3555, allocations: 15.98 kB / 1.357 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3555, allocations: 11.92 kB / 1.357 GB, free: 15.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001232/0.3556, allocations: 135.2 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3556, allocations: 0 / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003058/0.3559, allocations: 71.89 kB / 1.358 GB, free: 15.38 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.0007173/0.3566, allocations: 0.7913 MB / 1.358 GB, free: 14.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007704/0.3574, allocations: 0.5195 MB / 1.359 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3574, allocations: 0 / 1.359 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3575, allocations: 87.88 kB / 1.359 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3578, allocations: 40.39 kB / 1.359 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.3621, allocations: 3.194 MB / 1.362 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3625, allocations: 0.7474 MB / 1.363 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.936e-05/0.3626, allocations: 29.41 kB / 1.363 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.3627, allocations: 47.42 kB / 1.363 GB, free: 9.691 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3627, allocations: 0 / 1.363 GB, free: 9.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3925, allocations: 5.699 MB / 1.369 GB, free: 4.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.592, allocations: 9.297 kB / 1.369 GB, free: 4.152 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.192441302118823]