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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 108 kB / 15.61 MB, free: 152 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.002061/0.002061, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.844/2.844, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 64.08 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2533, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002789/0.2561, allocations: 1.497 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2574, allocations: 0.7379 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.2574, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.2575, allocations: 7.938 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.2575, allocations: 11.86 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.258, allocations: 123.6 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2581, allocations: 75.78 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.2582, allocations: 11.98 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.2583, allocations: 31.91 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.2584, allocations: 43.83 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2584, allocations: 8 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.2586, allocations: 95.84 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.2587, allocations: 15.92 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.2587, allocations: 35.84 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.259, allocations: 139.9 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.259, allocations: 4 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.259, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.259, allocations: 0 / 1.067 GB, free: 11.37 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.000637/0.2596, allocations: 409 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2597, allocations: 12.03 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.2597, allocations: 38.73 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.2598, allocations: 8.844 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2599, allocations: 180.2 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.26, allocations: 4.375 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.26, allocations: 12.36 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.2602, allocations: 65.78 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2602, allocations: 3.984 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2602, allocations: 7.938 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2602, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.2604, allocations: 31.98 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.261, allocations: 324.7 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2611, allocations: 46.56 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.2612, allocations: 32.97 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.2613, allocations: 8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.2615, allocations: 75.38 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2615, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004092/0.2619, allocations: 141.5 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.2619, allocations: 59.33 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2621, allocations: 117.8 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2621, allocations: 29.7 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.2622, allocations: 104.1 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2622, allocations: 15.75 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.2622, allocations: 29.7 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2624, allocations: 318.8 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-05/0.2625, allocations: 27.97 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2626, allocations: 50.56 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.2628, allocations: 74.48 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2628, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002564/0.2631, allocations: 109.9 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2631, allocations: 8 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2631, allocations: 4.062 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2631, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2632, allocations: 23.86 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2632, allocations: 4 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.2633, allocations: 7.906 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2633, allocations: 0 / 1.069 GB, free: 8.77 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.703e-05/0.2634, allocations: 121.8 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.2635, allocations: 3.906 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.2635, allocations: 20.36 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2635, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2635, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2635, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.264, allocations: 386.3 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.264, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.2641, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2641, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2641, allocations: 11.98 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2641, allocations: 3.938 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2641, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.2644, allocations: 203.4 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.2645, allocations: 85.02 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2645, allocations: 7.984 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.2646, allocations: 11.94 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.2647, allocations: 11.98 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2647, allocations: 0 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.2648, allocations: 91.92 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2648, allocations: 4 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002923/0.2651, allocations: 36 kB / 1.07 GB, free: 7.688 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.0008592/0.2659, allocations: 0.8057 MB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.2662, allocations: 71.89 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2662, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2663, allocations: 44.52 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.2666, allocations: 7.938 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.2683, allocations: 1.49 MB / 1.072 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2686, allocations: 0.6922 MB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.2687, allocations: 4 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.2687, allocations: 19.44 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2687, allocations: 0 / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.2923, allocations: 2.605 MB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.899, allocations: 1.766 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB (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) 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) "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.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! " 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