Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_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.005861/0.005861, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001343/0.001343, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.754/2.754, allocations: 469.4 MB / 0.7422 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.283, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.0025/0.2855, allocations: 1.499 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2868, allocations: 0.7323 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.2868, allocations: 4 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.2869, allocations: 3.938 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.938e-05/0.2869, allocations: 7.875 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.2875, allocations: 127.6 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2876, allocations: 75.7 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.2877, allocations: 19.95 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.001e-05/0.2878, allocations: 35.89 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.2879, allocations: 35.84 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.2879, allocations: 8 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2881, allocations: 95.84 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.2881, allocations: 23.91 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.2882, allocations: 27.86 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.2884, allocations: 139.5 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2884, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2884, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2884, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 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.0005796/0.289, allocations: 428.7 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2891, allocations: 8.031 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.2891, allocations: 30.75 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.2891, allocations: 8.891 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2892, allocations: 176.3 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.2893, allocations: 12.36 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.2893, allocations: 4.375 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.2895, allocations: 69.78 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2895, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2895, allocations: 15.92 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2895, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2897, allocations: 35.97 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.2902, allocations: 316.7 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.2904, allocations: 54.55 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.2905, allocations: 28.97 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.2905, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.2907, allocations: 71.38 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.2907, allocations: 3.938 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000386/0.2911, allocations: 145.7 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2912, allocations: 55.34 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.2913, allocations: 129.7 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2913, allocations: 29.7 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.2913, allocations: 88.14 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.2914, allocations: 15.91 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.2914, allocations: 25.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2916, allocations: 326.8 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.2916, allocations: 27.98 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.2917, allocations: 50.55 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2919, allocations: 70.81 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2919, allocations: 0 / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.2922, allocations: 121.5 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2922, allocations: 8 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2922, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2922, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.2923, allocations: 19.86 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2923, allocations: 4 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.2924, allocations: 15.98 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2924, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 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.619e-05/0.2925, allocations: 127.1 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.2925, allocations: 3.953 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.2926, allocations: 8.375 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2926, allocations: 0 / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2926, allocations: 0 / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2926, allocations: 7.984 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.293, allocations: 382.4 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.293, allocations: 0 / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.2931, allocations: 7.984 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2931, allocations: 0 / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.2931, allocations: 4 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.2931, allocations: 3.938 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2931, allocations: 0 / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.2934, allocations: 219.4 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.2934, allocations: 81.06 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.2935, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.2936, allocations: 11.92 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.2936, allocations: 4 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.2936, allocations: 4 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.2937, allocations: 95.27 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2937, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002942/0.294, allocations: 43.86 kB / 1.226 GB, free: 8.156 MB / 0.9825 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.0007327/0.2947, allocations: 0.8118 MB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.295, allocations: 76.25 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.295, allocations: 0 / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.2951, allocations: 40.06 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2953, allocations: 13.98 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.2968, allocations: 1.491 MB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2971, allocations: 0.6923 MB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.2971, allocations: 4 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.2972, allocations: 27.42 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.2972, allocations: 0 / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.3143, allocations: 2.651 MB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.654, allocations: 4.438 kB / 1.231 GB, free: 2.367 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_latest_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