Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001824/0.001824, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001531/0.001531, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.977 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.828/2.828, allocations: 476.8 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.002046/0.002046, allocations: 65.55 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3655, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003099/0.3686, allocations: 1.535 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3704, allocations: 0.8157 MB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3704, allocations: 4 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.449e-05/0.3705, allocations: 3.938 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.3705, allocations: 11.88 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.3712, allocations: 151.5 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3714, allocations: 71.78 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3715, allocations: 15.97 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.3716, allocations: 43.84 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.3717, allocations: 47.81 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.3717, allocations: 8 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.3721, allocations: 139.8 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.3721, allocations: 15.98 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.3721, allocations: 39.78 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.3725, allocations: 143.7 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3725, allocations: 0 / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.117e-06/0.3725, allocations: 4 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.3725, allocations: 0 / 1.286 GB, free: 8.68 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.0008006/0.3733, allocations: 351.5 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3733, allocations: 8.031 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.3734, allocations: 34.75 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.3737, allocations: 36.86 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.374, allocations: 131.6 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.374, allocations: 8.359 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.3741, allocations: 8.375 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3743, allocations: 69.58 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3743, allocations: 3.938 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3743, allocations: 4 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3743, allocations: 4 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3744, allocations: 35.97 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.3751, allocations: 283.8 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3752, allocations: 42.56 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.3753, allocations: 36.97 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3753, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3755, allocations: 71.38 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3755, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004457/0.376, allocations: 145.8 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.376, allocations: 63.39 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3761, allocations: 121.8 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.3762, allocations: 29.7 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.3762, allocations: 96.08 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3763, allocations: 19.78 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.3763, allocations: 29.7 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.3765, allocations: 326.8 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3766, allocations: 23.98 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3767, allocations: 46.56 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3769, allocations: 78.55 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3769, allocations: 0 / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002458/0.3772, allocations: 121.5 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3772, allocations: 4 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3772, allocations: 0 / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3772, allocations: 4 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.3773, allocations: 11.98 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3773, allocations: 3.938 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.3774, allocations: 15.94 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3774, allocations: 7.938 kB / 1.289 GB, free: 6.23 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.0001199/0.3775, allocations: 125.9 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.3775, allocations: 7.953 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.3776, allocations: 8.375 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3776, allocations: 4 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3776, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3776, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.3781, allocations: 349.5 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3781, allocations: 0 / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.3782, allocations: 8 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3782, allocations: 3.984 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3782, allocations: 8 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3782, allocations: 3.938 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3782, allocations: 0 / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.3785, allocations: 199.5 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.3785, allocations: 15.88 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3786, allocations: 7.938 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.3787, allocations: 11.94 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3787, allocations: 7.984 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3787, allocations: 0 / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.3788, allocations: 95.27 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3788, allocations: 0 / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003781/0.3792, allocations: 39.92 kB / 1.289 GB, free: 5.273 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.001361/0.3806, allocations: 0.7986 MB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.3808, allocations: 75.83 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3808, allocations: 4.125 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3809, allocations: 39.91 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3813, allocations: 16.28 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3838, allocations: 1.492 MB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/0.3845, allocations: 0.6885 MB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.24e-05/0.3845, allocations: 7.938 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.3846, allocations: 23.42 kB / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/0.3846, allocations: 0 / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.4184, allocations: 2.819 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.9, allocations: 9.203 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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: 19.07302264399914]