Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.004985/0.004985, allocations: 96.52 kB / 15.73 MB, free: 6.055 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.001257/0.001257, allocations: 194.6 kB / 16.67 MB, free: 5.977 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.735/2.735, allocations: 469.4 MB / 0.7421 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002047, allocations: 63.91 kB / 1.064 GB, free: 14 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2826, allocations: 159.1 MB / 1.22 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.00266/0.2853, allocations: 1.518 MB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2867, allocations: 0.7634 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.2868, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.2868, allocations: 3.938 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.2869, allocations: 15.86 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.2875, allocations: 143.5 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.2876, allocations: 91.81 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.2877, allocations: 15.98 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2879, allocations: 51.78 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.288, allocations: 55.8 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.288, allocations: 8 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.2882, allocations: 95.91 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.2882, allocations: 19.97 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.2883, allocations: 51.78 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.2886, allocations: 163.4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2886, allocations: 0 / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2886, allocations: 3.938 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.2886, allocations: 0 / 1.223 GB, free: 11.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006801/0.2893, allocations: 467.8 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2894, allocations: 12.03 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.2894, allocations: 34.75 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.2895, allocations: 12.89 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2896, allocations: 184.2 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2896, allocations: 4.375 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2896, allocations: 8.312 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.2899, allocations: 93.73 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.2899, allocations: 0 / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.29, allocations: 0 / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.29, allocations: 4 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.2902, allocations: 47.97 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.2909, allocations: 344.6 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.2911, allocations: 62.55 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.2913, allocations: 48.83 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2913, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.2916, allocations: 91.44 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.2916, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005904/0.2922, allocations: 189.7 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.2922, allocations: 63.39 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2923, allocations: 127.9 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2924, allocations: 29.7 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.2924, allocations: 92.12 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.2925, allocations: 15.91 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.2925, allocations: 29.7 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2926, allocations: 330.8 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.2927, allocations: 27.98 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2928, allocations: 68.2 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.293, allocations: 96.2 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.293, allocations: 0 / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000273/0.2933, allocations: 125.5 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2934, allocations: 5.562 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.2934, allocations: 4.062 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2934, allocations: 4 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2935, allocations: 31.95 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2935, allocations: 3.938 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.2936, allocations: 15.88 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.2936, allocations: 4 kB / 1.225 GB, free: 8.855 MB / 0.9825 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,occ.y,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 (13): * Single equations (assignments): 13 * 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.0001007/0.2937, allocations: 126.3 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.2938, allocations: 11.89 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.2938, allocations: 8.359 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2938, allocations: 4 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2938, allocations: 4 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2938, allocations: 0 / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.2944, allocations: 422.4 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2944, allocations: 0 / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.2945, allocations: 7.984 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2945, allocations: 0 / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2945, allocations: 4 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2945, allocations: 7.938 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2945, allocations: 7.938 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.2949, allocations: 247.8 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.295, allocations: 81.06 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.295, allocations: 4 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2952, allocations: 11.98 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.2952, allocations: 7.984 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.2952, allocations: 11.97 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.838e-05/0.2953, allocations: 98.39 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2953, allocations: 0 / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003247/0.2956, allocations: 43.88 kB / 1.226 GB, free: 7.664 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,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 (8): * Single equations (assignments): 4 * 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.0009108/0.2965, allocations: 0.8333 MB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.2969, allocations: 96 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2969, allocations: 0 / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.297, allocations: 47.92 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2973, allocations: 29.98 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2991, allocations: 1.589 MB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2993, allocations: 0.6924 MB / 1.229 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.2994, allocations: 4 kB / 1.229 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.2994, allocations: 23.42 kB / 1.229 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of SimCode: time 2.946e-06/0.2994, allocations: 0 / 1.229 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.3192, allocations: 3.007 MB / 1.232 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.038, allocations: 10.61 kB / 1.232 GB, free: 1.344 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_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_Yun2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.pClose,win.pOpen,TIn.amplitude,TIn.f