Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.349/2.349, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] 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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 75.88 kB / 1.059 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2787, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002845/0.2816, allocations: 1.61 MB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.283, allocations: 0.7993 MB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.283, allocations: 3.938 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.2831, allocations: 7.922 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.2831, allocations: 19.8 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.2837, allocations: 147.5 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.2839, allocations: 143.6 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.284, allocations: 20.2 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2841, allocations: 55.83 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2842, allocations: 71.72 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.2842, allocations: 12 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.2845, allocations: 111.8 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.2845, allocations: 35.89 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.2846, allocations: 43.78 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.2848, allocations: 195.3 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2849, allocations: 3.984 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2849, allocations: 4 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2849, allocations: 0 / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007759/0.2856, allocations: 490.1 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2857, allocations: 15.97 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.2857, allocations: 34.75 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.2858, allocations: 12.89 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2859, allocations: 180.8 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.2859, allocations: 8.375 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.286, allocations: 11.94 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.2862, allocations: 93.62 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2862, allocations: 0 / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.2862, allocations: 7.984 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2862, allocations: 0 / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.2864, allocations: 71.83 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.2873, allocations: 368.6 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.2874, allocations: 58.55 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.2876, allocations: 52.83 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2876, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.2878, allocations: 111.2 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.2878, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005588/0.2884, allocations: 209.5 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.2884, allocations: 59.41 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2885, allocations: 147.8 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.2886, allocations: 33.7 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.2886, allocations: 96.33 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.2887, allocations: 24.03 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.2887, allocations: 29.7 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2889, allocations: 322.8 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.289, allocations: 39.97 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2891, allocations: 80.2 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.2894, allocations: 104.2 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2894, allocations: 4.375 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003438/0.2897, allocations: 165.5 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2897, allocations: 4 kB / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2897, allocations: 0 / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2897, allocations: 7.938 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2899, allocations: 23.86 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2899, allocations: 4 kB / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.991e-05/0.29, allocations: 19.97 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.29, allocations: 8 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.000107/0.2901, allocations: 125.7 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.2901, allocations: 11.98 kB / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2902, allocations: 16.7 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2902, allocations: 3.938 kB / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2902, allocations: 112 / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2902, allocations: 7.938 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.2908, allocations: 454.4 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2908, allocations: 0 / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.2909, allocations: 11.92 kB / 1.222 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2909, allocations: 0 / 1.222 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2909, allocations: 8 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2909, allocations: 0 / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2909, allocations: 0 / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.2913, allocations: 279.2 kB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.2913, allocations: 89 kB / 1.222 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2914, allocations: 0 / 1.222 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2915, allocations: 7.984 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.2915, allocations: 11.98 kB / 1.222 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2915, allocations: 0 / 1.222 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.117e-05/0.2916, allocations: 114.4 kB / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2916, allocations: 4 kB / 1.223 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002941/0.2919, allocations: 39.94 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009601/0.2929, allocations: 0.8679 MB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.2932, allocations: 111.8 kB / 1.224 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2932, allocations: 0 / 1.224 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2933, allocations: 48.16 kB / 1.224 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.2936, allocations: 19.92 kB / 1.224 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.2957, allocations: 1.73 MB / 1.225 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.296, allocations: 0.699 MB / 1.226 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.03e-05/0.296, allocations: 12.08 kB / 1.226 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.2961, allocations: 31.42 kB / 1.226 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of SimCode: time 5.1e-07/0.2961, allocations: 0 / 1.226 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.3221, allocations: 3.391 MB / 1.229 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.516, allocations: 11.88 kB / 1.229 GB, free: 1.336 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.793804565000755]