Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 70.02 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2497, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00275/0.2525, allocations: 1.492 MB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2539, allocations: 0.7301 MB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.254, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.254, allocations: 7.875 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.2541, allocations: 15.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.2547, allocations: 131.6 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2549, allocations: 71.83 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.255, allocations: 8 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.2551, allocations: 39.84 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.2551, allocations: 39.83 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.2552, allocations: 4 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.2554, allocations: 95.91 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.2554, allocations: 15.92 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.2555, allocations: 31.86 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2558, allocations: 143.8 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2558, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2558, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2558, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 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.0007269/0.2565, allocations: 421 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2566, allocations: 8.031 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.2566, allocations: 34.75 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.2567, allocations: 8.844 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2568, allocations: 180.2 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2569, allocations: 12.38 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2569, allocations: 4.375 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.2571, allocations: 73.72 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2571, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2571, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2571, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.2573, allocations: 35.97 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.2579, allocations: 316.7 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2581, allocations: 50.55 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.2582, allocations: 40.91 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2582, allocations: 4 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.2584, allocations: 75.44 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.2584, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.2588, allocations: 133.8 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.2589, allocations: 55.41 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.259, allocations: 121.8 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.259, allocations: 37.7 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.2591, allocations: 88.05 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.2591, allocations: 19.75 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.2592, allocations: 25.7 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2593, allocations: 326.8 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.2594, allocations: 23.98 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2595, allocations: 54.55 kB / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.2597, allocations: 82.48 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2597, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000248/0.2599, allocations: 109.6 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.26, allocations: 9.469 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.26, allocations: 0 / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.26, allocations: 0 / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.2601, allocations: 15.98 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2601, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.2602, allocations: 7.906 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2602, allocations: 11.92 kB / 1.069 GB, free: 9.043 MB / 0.8262 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 9.537e-05/0.2603, allocations: 125.7 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.2603, allocations: 11.91 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.2604, allocations: 4.375 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2604, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2604, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2604, allocations: 4 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.2609, allocations: 382.4 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2609, allocations: 3.984 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.2609, allocations: 7.984 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2609, allocations: 4 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2609, allocations: 3.938 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.261, allocations: 3.938 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.261, allocations: 0 / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.2612, allocations: 211.4 kB / 1.069 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2613, allocations: 85.02 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2613, allocations: 4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.2614, allocations: 11.92 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.2615, allocations: 4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2615, allocations: 8 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.2615, allocations: 91.92 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2615, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003243/0.2619, allocations: 39.98 kB / 1.07 GB, free: 7.957 MB / 0.8262 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.0008446/0.2627, allocations: 0.8041 MB / 1.07 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.263, allocations: 71.89 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.263, allocations: 3.938 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.2631, allocations: 40.11 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2634, allocations: 14.58 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.265, allocations: 1.477 MB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.2652, allocations: 0.6961 MB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.2652, allocations: 4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.2653, allocations: 23.42 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2653, allocations: 4 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.284, allocations: 2.615 MB / 1.075 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.646, allocations: 1.25 kB / 1.075 GB, free: 2.207 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! " 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