Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.007887/0.007887, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001868/0.001868, allocations: 191 kB / 16.67 MB, free: 5.934 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.801/2.801, allocations: 469.4 MB / 0.7421 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.84 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.275, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002875/0.2779, allocations: 1.503 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2792, allocations: 0.7284 MB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.2793, allocations: 4 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.2793, allocations: 11.86 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.2794, allocations: 11.88 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.28, allocations: 123.5 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2801, allocations: 67.84 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.2802, allocations: 15.94 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.2803, allocations: 43.84 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.2803, allocations: 43.83 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2804, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.2806, allocations: 91.91 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.2806, allocations: 23.91 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.2807, allocations: 31.86 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.2809, allocations: 139.5 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2809, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2809, allocations: 4 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2809, allocations: 0 / 1.222 GB, free: 11.84 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.0006424/0.2816, allocations: 420.7 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.2816, allocations: 12.03 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.2817, allocations: 34.75 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.2817, allocations: 8.891 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2819, allocations: 172.3 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.2819, allocations: 4.375 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2819, allocations: 8.312 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2821, allocations: 77.7 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2821, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2822, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2822, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2823, allocations: 35.97 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.283, allocations: 312.7 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.2831, allocations: 50.5 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.2832, allocations: 36.95 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2832, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.2834, allocations: 83.36 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.2835, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003856/0.2838, allocations: 141.6 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2839, allocations: 59.41 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.284, allocations: 125.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.284, allocations: 25.7 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.2841, allocations: 88.14 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.2841, allocations: 11.91 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.2841, allocations: 29.7 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.2842, allocations: 326.8 kB / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.2843, allocations: 27.98 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2844, allocations: 51.41 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.2846, allocations: 91.3 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2846, allocations: 0 / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002487/0.2849, allocations: 117.6 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2849, allocations: 4 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2849, allocations: 7.938 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2849, allocations: 0 / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.285, allocations: 19.92 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.285, allocations: 4 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.2851, allocations: 8 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2851, allocations: 4 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.998e-05/0.2852, allocations: 122.3 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.2853, allocations: 11.94 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.2853, allocations: 8.375 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2853, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2853, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2853, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.2858, allocations: 390.4 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2858, allocations: 4 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.2858, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2859, allocations: 4 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2859, allocations: 3.984 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2859, allocations: 3.938 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2859, allocations: 0 / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.2862, allocations: 215.5 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.2863, allocations: 85.05 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.2863, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.2864, allocations: 7.938 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.2864, allocations: 7.984 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.2864, allocations: 64 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.2865, allocations: 95.27 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2865, allocations: 0 / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003194/0.2868, allocations: 39.88 kB / 1.226 GB, free: 8.129 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,occ.y,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.0008589/0.2877, allocations: 0.8205 MB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.288, allocations: 71.89 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.288, allocations: 0 / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.2881, allocations: 39.97 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.2884, allocations: 10 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.29, allocations: 1.512 MB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.2902, allocations: 0.6924 MB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.2903, allocations: 8 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.2903, allocations: 23.42 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.2904, allocations: 0 / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.3083, allocations: 2.658 MB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.545, allocations: 0.5 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_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_Haldi2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[553]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:time,win.TIn,win.p,TIn.amplitude,TIn.f,TIn.offset