Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.007593/0.0076, allocations: 101.7 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 199 kB / 16.68 MB, free: 5.914 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62.34 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002633/0.2477, allocations: 1.512 MB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2491, allocations: 0.7259 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.2491, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.2492, allocations: 11.88 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.2493, allocations: 11.91 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006084/0.2499, allocations: 115.6 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.25, allocations: 83.75 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.2501, allocations: 7.984 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.2502, allocations: 39.91 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.2503, allocations: 47.83 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2504, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.2506, allocations: 95.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.2506, allocations: 11.92 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.2507, allocations: 35.84 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2509, allocations: 142.5 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2509, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.251, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.251, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 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.0006421/0.2516, allocations: 421.8 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2517, allocations: 11.97 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.2517, allocations: 38.75 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.2517, allocations: 12.83 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2519, allocations: 176.2 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.2519, allocations: 384 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2519, allocations: 8.375 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2521, allocations: 69.78 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2521, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2522, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2522, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.2523, allocations: 39.91 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.2529, allocations: 316.8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.253, allocations: 58.53 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.2531, allocations: 32.97 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.2532, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.2534, allocations: 79.31 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.2534, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003859/0.2538, allocations: 137.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.2538, allocations: 55.41 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.2539, allocations: 125.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2539, allocations: 25.7 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.254, allocations: 96.12 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.254, allocations: 15.78 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.2541, allocations: 25.72 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.2542, allocations: 326.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.2543, allocations: 27.98 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/0.2544, allocations: 54.48 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2545, allocations: 66.88 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2545, allocations: 3.938 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002418/0.2548, allocations: 113.6 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2548, allocations: 5.719 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2548, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2548, allocations: 4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.255, allocations: 19.92 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.255, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.2551, allocations: 11.89 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.2551, allocations: 4 kB / 1.093 GB, free: 12.51 MB / 0.8575 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.892e-05/0.2552, allocations: 127.8 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.2552, allocations: 7.906 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.2552, allocations: 16.31 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2552, allocations: 4 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2553, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2553, allocations: 3.984 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.2557, allocations: 382.4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2557, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.2558, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2558, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2558, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2558, allocations: 3.938 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2558, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.2561, allocations: 211.3 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.2562, allocations: 85.02 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.2562, allocations: 8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.2563, allocations: 7.922 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.2563, allocations: 4 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2563, allocations: 7.984 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.2564, allocations: 87.28 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.433e-06/0.2564, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003097/0.2567, allocations: 43.92 kB / 1.093 GB, free: 11.42 MB / 0.8575 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.0007379/0.2575, allocations: 0.8092 MB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.2577, allocations: 68.28 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2577, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.923e-05/0.2578, allocations: 35.92 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.2581, allocations: 12.23 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2597, allocations: 1.494 MB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.2599, allocations: 0.6885 MB / 1.096 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.26, allocations: 7.75 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.26, allocations: 23.42 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.26, allocations: 0 / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.2791, allocations: 2.625 MB / 1.099 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.544, allocations: 8.375 kB / 1.099 GB, free: 5.645 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_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