Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.001341/0.001341, 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.001312/0.001312, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.293/1.293, 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.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.8 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2399, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002764/0.2427, allocations: 1.501 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.244, allocations: 0.7339 MB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.244, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.2441, allocations: 11.92 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.2442, allocations: 11.86 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.2447, allocations: 119.6 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.2448, allocations: 75.78 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.2449, allocations: 11.98 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.245, allocations: 35.91 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.2451, allocations: 39.84 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2451, allocations: 8 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2453, allocations: 91.84 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.2453, allocations: 27.89 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.2454, allocations: 31.86 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.2456, allocations: 135.9 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2456, allocations: 4 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2456, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2457, allocations: 0 / 1.066 GB, free: 11.68 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.00058/0.2462, allocations: 413 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2463, allocations: 12.03 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.2463, allocations: 38.73 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.2464, allocations: 12.78 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2465, allocations: 176.2 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.2465, allocations: 4.375 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.2465, allocations: 8.375 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2467, allocations: 73.75 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2467, allocations: 4 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2468, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2468, allocations: 7.938 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.2469, allocations: 35.97 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.2475, allocations: 312.8 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.2476, allocations: 54.5 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.2477, allocations: 32.97 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.2477, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.2479, allocations: 75.38 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.056e-06/0.2479, allocations: 4 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003793/0.2483, allocations: 141.5 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.2484, allocations: 55.41 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.2485, allocations: 121.8 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2485, allocations: 25.7 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.2485, allocations: 92.05 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.2486, allocations: 23.73 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.2486, allocations: 29.7 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.2487, allocations: 322.8 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.2488, allocations: 23.98 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.072e-05/0.2489, allocations: 46.55 kB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.2491, allocations: 78.48 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2491, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002374/0.2493, allocations: 109.6 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2493, allocations: 8 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2494, allocations: 3.984 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2494, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.2495, allocations: 8 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2495, allocations: 3.938 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.2496, allocations: 19.95 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2496, allocations: 4 kB / 1.069 GB, free: 9.086 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 8.41e-05/0.2497, allocations: 122.2 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.2497, allocations: 11.89 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.2497, allocations: 16.36 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2497, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2498, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2498, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.2502, allocations: 382.4 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2502, allocations: 3.938 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.2503, allocations: 8 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2503, allocations: 0 / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.2503, allocations: 8 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2503, allocations: 7.922 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2503, allocations: 0 / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.2506, allocations: 207.9 kB / 1.069 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.2506, allocations: 85.02 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2507, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.2508, allocations: 15.92 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.2508, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.2508, allocations: 7.922 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.2509, allocations: 91.92 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2509, allocations: 4 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000298/0.2512, allocations: 40 kB / 1.07 GB, free: 7.992 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.0007037/0.2519, allocations: 0.7998 MB / 1.07 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.2521, allocations: 71.84 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2521, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2523, allocations: 43.89 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.2525, allocations: 11.94 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.254, allocations: 1.482 MB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.2542, allocations: 0.6922 MB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.2543, allocations: 7.984 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.2543, allocations: 19.44 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2543, allocations: 3.938 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.2721, allocations: 2.613 MB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.812, allocations: 8.938 kB / 1.075 GB, free: 2.246 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_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_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_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