Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_latest_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.00111/0.00111, 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.001135/0.001135, allocations: 192.9 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.75 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2523, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002434/0.2548, allocations: 1.501 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2559, allocations: 0.7301 MB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.2559, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.2559, allocations: 7.922 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.256, allocations: 19.75 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.2565, allocations: 123.6 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.2566, allocations: 71.78 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.2567, allocations: 8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.2567, allocations: 39.89 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.2568, allocations: 35.84 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.2569, allocations: 4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.257, allocations: 103.8 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.2571, allocations: 19.91 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.2571, allocations: 31.86 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2573, allocations: 139.9 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2573, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2573, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2573, allocations: 0 / 1.066 GB, free: 11.69 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.0005338/0.2579, allocations: 417 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2579, allocations: 8.031 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.258, allocations: 42.75 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.258, allocations: 8.844 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.2581, allocations: 180.1 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2581, allocations: 4.375 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2582, allocations: 4.375 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.2583, allocations: 73.78 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-06/0.2583, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2584, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.2584, allocations: 3.984 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.2585, allocations: 39.97 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.2591, allocations: 312.7 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.2592, allocations: 54.48 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.2593, allocations: 40.97 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.2593, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.2595, allocations: 75.38 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2595, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003602/0.2599, allocations: 137.5 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2599, allocations: 59.41 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.26, allocations: 121.8 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.26, allocations: 29.7 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.2601, allocations: 88.05 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.2601, allocations: 19.75 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.2601, allocations: 29.7 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.2602, allocations: 326.8 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.2603, allocations: 19.98 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.2604, allocations: 54.98 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.2606, allocations: 74.44 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2606, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002507/0.2608, allocations: 117.6 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2609, allocations: 4 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2609, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2609, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.261, allocations: 19.98 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.261, allocations: 3.938 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.2611, allocations: 15.89 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2611, allocations: 4 kB / 1.069 GB, free: 9.09 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 7.604e-05/0.2612, allocations: 125.8 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.2612, allocations: 7.906 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.2612, allocations: 8.375 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2612, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2612, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2613, allocations: 7.984 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.2617, allocations: 378.4 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2617, allocations: 0 / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.2617, allocations: 11.98 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2617, allocations: 0 / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2618, allocations: 4 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2618, allocations: 4.406 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2618, allocations: 0 / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.262, allocations: 211.4 kB / 1.069 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.2621, allocations: 81.02 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.2621, allocations: 8 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.2622, allocations: 15.86 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.2622, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2622, allocations: 4 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.2623, allocations: 95.42 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2623, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002866/0.2626, allocations: 39.98 kB / 1.07 GB, free: 8.004 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.0006565/0.2633, allocations: 0.7879 MB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.2635, allocations: 79.94 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2635, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.2636, allocations: 39.86 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.2639, allocations: 17.81 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2653, allocations: 1.482 MB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.2655, allocations: 0.6961 MB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.2655, allocations: 7.938 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.2656, allocations: 27.42 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2656, allocations: 0 / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.2833, allocations: 2.611 MB / 1.075 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.098, allocations: 1.125 kB / 1.075 GB, free: 2.254 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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_Zhang2012WindowsAll.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.on from file Buildings_latest_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