Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.001703/0.001703, allocations: 108.6 kB / 15.73 MB, free: 72 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.001926/0.001926, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2776, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002613/0.2802, allocations: 1.497 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2817, allocations: 0.7323 MB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.2818, allocations: 0 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.2819, allocations: 3.938 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.282, allocations: 15.86 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.2826, allocations: 119.6 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.2828, allocations: 79.72 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.2829, allocations: 11.98 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.283, allocations: 39.91 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.2831, allocations: 39.83 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.2831, allocations: 4 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.2833, allocations: 95.84 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.2834, allocations: 15.98 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.2834, allocations: 31.84 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.2837, allocations: 151.8 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2837, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2838, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.2838, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 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.0006913/0.2845, allocations: 424.7 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2845, allocations: 8.031 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.2846, allocations: 42.69 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.2846, allocations: 8.891 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2847, allocations: 172.3 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.2848, allocations: 4.375 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.2848, allocations: 8.359 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.285, allocations: 73.78 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.285, allocations: 0 / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.285, allocations: 0 / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.285, allocations: 0 / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.2852, allocations: 43.84 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.2858, allocations: 320.8 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2859, allocations: 42.56 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.286, allocations: 36.97 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.286, allocations: 0 / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.2863, allocations: 87.31 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.2863, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004056/0.2867, allocations: 137.6 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.2867, allocations: 59.41 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2869, allocations: 125.7 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2869, allocations: 25.7 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.287, allocations: 100.1 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.287, allocations: 15.84 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.2871, allocations: 29.7 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2872, allocations: 326.8 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.2873, allocations: 23.98 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.2874, allocations: 46.5 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.2875, allocations: 74.55 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2876, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002573/0.2878, allocations: 113.9 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2878, allocations: 4 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2879, allocations: 80 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2879, allocations: 8.047 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.288, allocations: 19.92 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.288, allocations: 7.984 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-05/0.2881, allocations: 8 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2881, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 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.909e-05/0.2882, allocations: 117.8 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.2882, allocations: 11.94 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.2883, allocations: 8.375 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2883, allocations: 8 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2883, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2883, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.2888, allocations: 382.4 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2888, allocations: 0 / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.2888, allocations: 7.938 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2888, allocations: 3.984 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2888, allocations: 4 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2889, allocations: 3.938 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2889, allocations: 4 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.2891, allocations: 207.4 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.2892, allocations: 92.98 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.2892, allocations: 3.938 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.2893, allocations: 7.938 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.2893, allocations: 7.984 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2894, allocations: 8 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.2894, allocations: 91.27 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2894, allocations: 0 / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003064/0.2897, allocations: 35.94 kB / 1.172 GB, free: 0.8008 MB / 0.92 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.0007999/0.2905, allocations: 0.7985 MB / 1.173 GB, free: 16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.2908, allocations: 71.95 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2908, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2909, allocations: 35.92 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.2912, allocations: 20.55 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.2929, allocations: 1.495 MB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2931, allocations: 0.6885 MB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.2932, allocations: 11.97 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.2932, allocations: 19.44 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.2932, allocations: 0 / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3132, allocations: 2.634 MB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.692, allocations: 9.656 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_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