Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_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.00134/0.00134, 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.001247/0.001247, allocations: 194.5 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 469.8 MB / 0.7424 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 72.92 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2604, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002795/0.2632, allocations: 1.497 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2645, allocations: 0.738 MB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.2645, allocations: 3.938 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.2646, allocations: 7.938 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.2646, allocations: 7.875 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.2651, allocations: 119.6 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2653, allocations: 71.84 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.2654, allocations: 15.97 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.2655, allocations: 35.92 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.2655, allocations: 43.77 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2656, allocations: 8 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.2658, allocations: 95.89 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.2658, allocations: 15.92 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.2659, allocations: 31.86 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.2661, allocations: 135.9 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2661, allocations: 7.938 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2661, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2661, allocations: 0 / 1.067 GB, free: 11.34 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.000636/0.2668, allocations: 413 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2668, allocations: 12.03 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.2669, allocations: 38.73 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.2669, allocations: 8.844 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2671, allocations: 176.2 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2671, allocations: 8.312 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2671, allocations: 8.375 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2673, allocations: 69.78 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2673, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2673, allocations: 3.984 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.2674, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.2675, allocations: 39.86 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.2681, allocations: 316.8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.2683, allocations: 50.56 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.2684, allocations: 36.95 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2684, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.2686, allocations: 75.31 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.2686, allocations: 4 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004085/0.269, allocations: 141.8 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.2691, allocations: 51.41 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2692, allocations: 125.8 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2692, allocations: 25.7 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.2693, allocations: 96.05 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2693, allocations: 19.73 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.2694, allocations: 33.7 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2695, allocations: 318.8 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.2696, allocations: 31.92 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.2698, allocations: 46.55 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.2699, allocations: 78.61 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.27, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.2702, allocations: 105.6 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2702, allocations: 7.984 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2703, allocations: 4 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2703, allocations: 3.938 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2704, allocations: 12 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2704, allocations: 0 / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.2705, allocations: 19.89 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2705, allocations: 4 kB / 1.069 GB, free: 8.734 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.792e-05/0.2706, allocations: 117.8 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.2706, allocations: 7.906 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.2707, allocations: 16.36 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2707, allocations: 0 / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2707, allocations: 0 / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2707, allocations: 4 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.2712, allocations: 390.3 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2712, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.2712, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2713, allocations: 3.938 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2713, allocations: 7.984 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2713, allocations: 3.938 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2713, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.2716, allocations: 207.4 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.2717, allocations: 85.02 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.2717, allocations: 7.984 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.2718, allocations: 7.938 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.2719, allocations: 4 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2719, allocations: 3.984 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.2719, allocations: 91.27 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2719, allocations: 4 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003004/0.2722, allocations: 40 kB / 1.07 GB, free: 7.648 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.0008791/0.2731, allocations: 0.8036 MB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.2734, allocations: 83.81 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2734, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.2735, allocations: 35.92 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.2738, allocations: 7.938 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.2755, allocations: 1.482 MB / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.2759, allocations: 0.6922 MB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.2759, allocations: 7.984 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.276, allocations: 19.44 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.276, allocations: 0 / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.2999, allocations: 2.61 MB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.942, allocations: 3.938 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_11_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