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.001229/0.001229, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001299/0.001299, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.432/1.432, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.168/3.168, allocations: 0.49 GB / 0.7916 GB, free: 33.57 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.001978/0.001978, allocations: 76.7 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3748, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002512/0.3774, allocations: 0.8288 MB / 1.322 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.3794, allocations: 1.198 MB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3795, allocations: 3.938 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.3797, allocations: 19.86 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3799, allocations: 11.86 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.3805, allocations: 147 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.3811, allocations: 343.3 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.3813, allocations: 90.5 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3815, allocations: 151.8 kB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.3818, allocations: 139.5 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.3819, allocations: 36 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.382, allocations: 43.98 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.3821, allocations: 51.84 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.3823, allocations: 135.5 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.3829, allocations: 395.2 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3829, allocations: 3.938 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3829, allocations: 0 / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3829, allocations: 0 / 1.324 GB, free: 15.74 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.001041/0.3839, allocations: 0.5934 MB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.384, allocations: 15.98 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.384, allocations: 46.73 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.494e-05/0.3841, allocations: 24.84 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.3846, allocations: 280.7 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.3846, allocations: 20.36 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.3847, allocations: 24.38 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.385, allocations: 178.1 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.385, allocations: 7.938 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.385, allocations: 8 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.385, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.3853, allocations: 147.9 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.3863, allocations: 0.6601 MB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.3866, allocations: 118.5 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3867, allocations: 76.75 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.3867, allocations: 4 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.387, allocations: 181.8 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.387, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005707/0.3876, allocations: 293.4 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3876, allocations: 55.41 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.3879, allocations: 194.8 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.3879, allocations: 41.69 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3881, allocations: 132.5 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.3881, allocations: 47.64 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3883, allocations: 85.61 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3885, allocations: 330.8 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.3889, allocations: 219.8 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.3893, allocations: 284.1 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.3899, allocations: 396.9 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3899, allocations: 0 / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001043/0.3909, allocations: 0.6404 MB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.391, allocations: 97.09 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.391, allocations: 8.219 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.391, allocations: 3.938 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3911, allocations: 12 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3912, allocations: 7.984 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.3917, allocations: 107.7 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.3917, allocations: 15.98 kB / 1.329 GB, free: 10.09 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.0002252/0.392, allocations: 188 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.392, allocations: 15.91 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.3924, allocations: 230 kB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3924, allocations: 4 kB / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3924, allocations: 0 / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3924, allocations: 0 / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.3927, allocations: 277.4 kB / 1.33 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3927, allocations: 4 kB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.3928, allocations: 12 kB / 1.33 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3928, allocations: 4 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3928, allocations: 3.984 kB / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3928, allocations: 0 / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3928, allocations: 0 / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.3932, allocations: 248.8 kB / 1.33 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.3932, allocations: 92.95 kB / 1.33 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3933, allocations: 11.98 kB / 1.33 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.3933, allocations: 4 kB / 1.33 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.3934, allocations: 11.98 kB / 1.33 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3934, allocations: 15.98 kB / 1.331 GB, free: 8.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001288/0.3935, allocations: 131.2 kB / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3935, allocations: 3.938 kB / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000303/0.3938, allocations: 67.89 kB / 1.331 GB, free: 8.695 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.0007911/0.3946, allocations: 0.7918 MB / 1.331 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007968/0.3954, allocations: 0.5159 MB / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3954, allocations: 0 / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3956, allocations: 87.88 kB / 1.332 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3959, allocations: 40.34 kB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.4002, allocations: 3.176 MB / 1.335 GB, free: 3.879 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.4007, allocations: 0.7474 MB / 1.336 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.555e-05/0.4008, allocations: 29.41 kB / 1.336 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.4009, allocations: 47.42 kB / 1.336 GB, free: 3.023 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4009, allocations: 0 / 1.336 GB, free: 3.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.4343, allocations: 5.705 MB / 1.342 GB, free: 13.49 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.521/8.956, allocations: 10.56 kB / 1.342 GB, free: 13.48 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.572878003120422]