Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_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.004242/0.004242, 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.001261/0.001261, allocations: 202.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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 75.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3003, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002581/0.3029, allocations: 1.516 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3043, allocations: 0.7595 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.3043, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.3043, allocations: 11.86 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.3044, allocations: 11.88 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.305, allocations: 139.6 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3051, allocations: 103.8 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.3052, allocations: 8 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.3053, allocations: 47.83 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.3054, allocations: 55.8 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.3054, allocations: 16 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3057, allocations: 99.84 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.3057, allocations: 19.98 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.3058, allocations: 39.78 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.306, allocations: 167.5 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.306, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.306, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3061, allocations: 4 kB / 1.223 GB, free: 11.34 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.0006922/0.3067, allocations: 467.7 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3068, allocations: 8.031 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.3068, allocations: 38.73 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.3069, allocations: 8.891 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.307, allocations: 180.2 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.307, allocations: 4.375 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3071, allocations: 4.375 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3073, allocations: 93.75 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3073, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3074, allocations: 7.984 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3074, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.3076, allocations: 59.83 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.3083, allocations: 340.7 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3085, allocations: 62.55 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3087, allocations: 44.92 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3087, allocations: 7.938 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.309, allocations: 91.36 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.309, allocations: 4 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005834/0.3096, allocations: 185.7 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3096, allocations: 55.39 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3098, allocations: 137.8 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3098, allocations: 25.7 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.3099, allocations: 100.1 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3099, allocations: 15.91 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.3099, allocations: 33.7 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3101, allocations: 322.8 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.3102, allocations: 23.98 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3103, allocations: 68.27 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3105, allocations: 92.22 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3105, allocations: 4 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002797/0.3108, allocations: 129.5 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3108, allocations: 12.09 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3108, allocations: 4 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3109, allocations: 4 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.311, allocations: 15.92 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.311, allocations: 4.312 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.3111, allocations: 15.89 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3111, allocations: 7.984 kB / 1.226 GB, free: 8.441 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.0001023/0.3112, allocations: 121.7 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.3112, allocations: 11.95 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.3113, allocations: 12.38 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3113, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3113, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3113, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.3119, allocations: 434.3 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3119, allocations: 4 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.312, allocations: 4 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.312, allocations: 7.984 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.312, allocations: 0 / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.312, allocations: 0 / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.312, allocations: 3.938 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.3125, allocations: 239.4 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.3125, allocations: 93.05 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3126, allocations: 7.938 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3127, allocations: 4 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3128, allocations: 11.92 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.3128, allocations: 11.92 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.13e-05/0.3128, allocations: 99.14 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3128, allocations: 0 / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003051/0.3132, allocations: 43.88 kB / 1.227 GB, free: 7.25 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.001008/0.3142, allocations: 0.8353 MB / 1.227 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.3145, allocations: 95.89 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3145, allocations: 3.938 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3147, allocations: 51.91 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.3149, allocations: 15.92 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3168, allocations: 1.589 MB / 1.229 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.3172, allocations: 0.6885 MB / 1.23 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.3172, allocations: 11.92 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.3173, allocations: 23.42 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3173, allocations: 0 / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3418, allocations: 3.007 MB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.552, allocations: 16.86 kB / 1.233 GB, free: 0.9102 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_11_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