Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001359/0.001359, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001998/0.001998, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.002129/0.002129, allocations: 70.08 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003202/0.3707, allocations: 1.511 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3726, allocations: 0.7536 MB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3727, allocations: 7.938 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.481e-05/0.3728, allocations: 7.922 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.3728, allocations: 7.875 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.3737, allocations: 139.6 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.3739, allocations: 83.69 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.374, allocations: 8.188 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.3742, allocations: 43.89 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.3743, allocations: 31.84 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.3743, allocations: 12 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.3747, allocations: 135.8 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.3747, allocations: 27.89 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.3748, allocations: 27.86 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.3751, allocations: 145 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3751, allocations: 3.938 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3751, allocations: 0 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3751, allocations: 0 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007303/0.3758, allocations: 355.5 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.3759, allocations: 16.02 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.3759, allocations: 34.75 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.3763, allocations: 24.92 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.3766, allocations: 134.4 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.3766, allocations: 8.375 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3766, allocations: 384 / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3768, allocations: 73.58 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3768, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3768, allocations: 4 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.3768, allocations: 8 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.377, allocations: 39.91 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.3776, allocations: 271.9 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3778, allocations: 42.56 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3779, allocations: 28.97 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3779, allocations: 7.938 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.3781, allocations: 83.25 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.3781, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004198/0.3785, allocations: 145.6 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.3785, allocations: 51.41 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3787, allocations: 118.1 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.3787, allocations: 33.7 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.3788, allocations: 92.08 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.3788, allocations: 19.92 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.3788, allocations: 33.7 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.379, allocations: 326.8 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3791, allocations: 23.92 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.3792, allocations: 54.48 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3794, allocations: 70.86 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3794, allocations: 0 / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002589/0.3796, allocations: 121.5 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3796, allocations: 4 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3797, allocations: 4 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3797, allocations: 3.938 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.3798, allocations: 11.98 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3798, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.3798, allocations: 4 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3799, allocations: 11.94 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001139/0.38, allocations: 121.9 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.38, allocations: 7.953 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.38, allocations: 12.38 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.38, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.38, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.38, allocations: 3.938 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.3805, allocations: 353.5 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3805, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.3806, allocations: 4 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3806, allocations: 0 / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3806, allocations: 8 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3806, allocations: 3.938 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3806, allocations: 0 / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.3809, allocations: 215.4 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.3809, allocations: 11.89 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3809, allocations: 4 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.381, allocations: 11.92 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.3811, allocations: 4 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3811, allocations: 3.984 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.918e-05/0.3812, allocations: 98.52 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3812, allocations: 7.938 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003397/0.3815, allocations: 35.94 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0009811/0.3825, allocations: 0.8099 MB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3828, allocations: 68.22 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.3828, allocations: 4 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3829, allocations: 27.97 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3831, allocations: 12.25 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.385, allocations: 1.509 MB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.91e-05/0.3851, allocations: 75.41 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.4e-05/0.3851, allocations: 7.984 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.3852, allocations: 19.44 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3852, allocations: 0 / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.4169, allocations: 3.252 MB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.98, allocations: 6.703 kB / 1.294 GB, free: 412 kB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 18.893454120028764]