Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001655/0.001655, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001592/0.001592, allocations: 221 kB / 22.26 MB, free: 5.215 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.345/3.345, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_12_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.002066/0.002066, allocations: 62.78 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3679, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002292/0.3702, allocations: 0.8501 MB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3721, allocations: 1.209 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.3721, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.3723, allocations: 15.86 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.3724, allocations: 11.88 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.3729, allocations: 151.5 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.3734, allocations: 351.3 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3736, allocations: 62.78 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3738, allocations: 151.8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.374, allocations: 143.6 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.3741, allocations: 32 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3742, allocations: 48 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.3743, allocations: 43.84 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.3745, allocations: 143.5 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.375, allocations: 399 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.375, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.375, allocations: 3.938 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.375, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 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.0009391/0.376, allocations: 0.5064 MB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.376, allocations: 8.031 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.172e-05/0.3761, allocations: 46.73 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.3762, allocations: 28.84 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.3766, allocations: 227.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.3766, allocations: 16.38 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.3767, allocations: 28.36 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.377, allocations: 178.1 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3771, allocations: 7.922 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3771, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3771, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.3773, allocations: 155.9 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.3784, allocations: 0.6358 MB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.3787, allocations: 122.4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3788, allocations: 76.73 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3788, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.379, allocations: 171.2 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.379, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005572/0.3796, allocations: 299.6 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.3797, allocations: 59.34 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3799, allocations: 190.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.3799, allocations: 37.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3801, allocations: 140.4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.3801, allocations: 39.72 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3803, allocations: 85.66 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3804, allocations: 326.8 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.3808, allocations: 223.8 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.3812, allocations: 278.7 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.3817, allocations: 402.5 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3817, allocations: 0 / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001064/0.3828, allocations: 0.6348 MB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.943e-05/0.3829, allocations: 97.09 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3829, allocations: 4 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.3829, allocations: 4 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3831, allocations: 23.92 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3831, allocations: 8.156 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.3836, allocations: 107.8 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.3836, allocations: 15.98 kB / 1.334 GB, free: 8.93 MB / 1.029 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.0002118/0.3838, allocations: 183.9 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3839, allocations: 15.89 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.3843, allocations: 223.4 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3843, allocations: 0 / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3843, allocations: 0 / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3843, allocations: 3.984 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.3846, allocations: 244.5 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3846, allocations: 0 / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.3846, allocations: 19.92 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3846, allocations: 0 / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3847, allocations: 8 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3847, allocations: 4 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3847, allocations: 0 / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.385, allocations: 247.4 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.385, allocations: 15.84 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3851, allocations: 8 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.397e-05/0.3851, allocations: 3.984 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.3852, allocations: 23.92 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3852, allocations: 7.984 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001203/0.3853, allocations: 131.2 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3853, allocations: 0 / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003051/0.3856, allocations: 67.89 kB / 1.336 GB, free: 7.668 MB / 1.029 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.000758/0.3864, allocations: 0.793 MB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008533/0.3872, allocations: 0.5205 MB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3872, allocations: 0 / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3874, allocations: 91.86 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3877, allocations: 32.36 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.392, allocations: 3.178 MB / 1.34 GB, free: 2.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3925, allocations: 0.7552 MB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.995e-05/0.3926, allocations: 29.41 kB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.761e-05/0.3926, allocations: 47.42 kB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/0.3927, allocations: 0 / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.4277, allocations: 5.88 MB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 15.11 kB / 1.347 GB, free: 12.26 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.79939071499939]