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.001747/0.001747, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002239/0.002239, allocations: 218.5 kB / 22.25 MB, free: 5.258 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.781 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.22/3.22, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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.002021/0.002021, allocations: 62.06 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002369/0.3719, allocations: 0.8174 MB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3736, allocations: 1.194 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.3737, allocations: 3.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.3738, allocations: 11.86 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.3739, allocations: 19.88 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.3744, allocations: 146.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.3748, allocations: 343.5 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.375, allocations: 66.72 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3752, allocations: 155.7 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.3754, allocations: 139.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.3755, allocations: 36 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3756, allocations: 40 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.3757, allocations: 51.84 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.3759, allocations: 119.6 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.3763, allocations: 399 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3764, allocations: 4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3764, allocations: 4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.495e-06/0.3764, allocations: 0 / 1.329 GB, free: 13.99 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.0008865/0.3773, allocations: 0.5064 MB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3773, allocations: 8.031 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.3774, allocations: 50.73 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.3774, allocations: 20.84 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.3779, allocations: 231.8 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.3779, allocations: 16.38 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.378, allocations: 28.38 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.3783, allocations: 178.1 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3783, allocations: 7.922 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3783, allocations: 7.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3784, allocations: 4 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.3786, allocations: 147.9 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.3796, allocations: 0.5812 MB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3799, allocations: 114.5 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.38, allocations: 76.73 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.38, allocations: 4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.3803, allocations: 174.2 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.3803, allocations: 3.938 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005466/0.3808, allocations: 297.4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.3809, allocations: 55.41 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3811, allocations: 202.7 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.3811, allocations: 33.7 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3813, allocations: 140.4 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.3813, allocations: 39.66 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3815, allocations: 85.66 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3816, allocations: 326.8 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.3821, allocations: 324.9 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.3825, allocations: 377.5 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.3831, allocations: 400.5 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3831, allocations: 0 / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001098/0.3842, allocations: 0.7424 MB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.3842, allocations: 98.66 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3842, allocations: 224 / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3843, allocations: 8 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3844, allocations: 19.98 kB / 1.334 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3844, allocations: 4 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.3849, allocations: 95.77 kB / 1.334 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.385, allocations: 23.98 kB / 1.334 GB, free: 8.258 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.0001934/0.3852, allocations: 176 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3852, allocations: 15.91 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/0.3856, allocations: 239.3 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3856, allocations: 0 / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3856, allocations: 0 / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3856, allocations: 0 / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3859, allocations: 236.5 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3859, allocations: 0 / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.386, allocations: 15.98 kB / 1.335 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.386, allocations: 4 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.386, allocations: 4 kB / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.386, allocations: 4 kB / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.386, allocations: 0 / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.3863, allocations: 258.7 kB / 1.335 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.3864, allocations: 11.91 kB / 1.335 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3864, allocations: 4 kB / 1.335 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.3864, allocations: 7.984 kB / 1.335 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.3865, allocations: 11.98 kB / 1.335 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3865, allocations: 7.984 kB / 1.335 GB, free: 7.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001159/0.3866, allocations: 135.2 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3866, allocations: 4 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003123/0.3869, allocations: 71.83 kB / 1.336 GB, free: 6.996 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.0007031/0.3876, allocations: 0.7944 MB / 1.336 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008401/0.3885, allocations: 0.6161 MB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3885, allocations: 0 / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.3886, allocations: 88.31 kB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3889, allocations: 35.88 kB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.3934, allocations: 3.589 MB / 1.341 GB, free: 1.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.3935, allocations: 139.9 kB / 1.341 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.171e-05/0.3936, allocations: 25.42 kB / 1.341 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.03e-05/0.3937, allocations: 51.41 kB / 1.341 GB, free: 1.344 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.3937, allocations: 0 / 1.341 GB, free: 1.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.4286, allocations: 6.613 MB / 1.347 GB, free: 10.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.98, allocations: 6.469 kB / 1.347 GB, free: 10.93 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.884400277020177]