Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.007737/0.007737, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001972/0.001972, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.569/2.569, allocations: 469.4 MB / 0.7422 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6877, allocations: 159.1 MB / 1.22 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002403/0.6901, allocations: 1.517 MB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.6914, allocations: 0.7567 MB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.6915, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.6915, allocations: 7.922 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.6916, allocations: 7.875 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.6922, allocations: 139.5 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.6924, allocations: 107.6 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.6924, allocations: 8 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.6926, allocations: 55.77 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.6926, allocations: 47.88 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.6927, allocations: 8 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.6929, allocations: 103.8 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.6929, allocations: 19.97 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.693, allocations: 47.78 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.6932, allocations: 163.2 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6932, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6932, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.6933, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 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.000622/0.6939, allocations: 464.9 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6939, allocations: 12.62 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.694, allocations: 30.75 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.694, allocations: 8.891 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.6941, allocations: 188.2 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.6942, allocations: 12.25 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.6942, allocations: 8.375 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.6945, allocations: 89.75 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6945, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6945, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.6945, allocations: 4 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.6947, allocations: 43.97 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.6955, allocations: 348.6 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.6957, allocations: 58.55 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.6958, allocations: 48.78 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.6958, allocations: 3.984 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.6961, allocations: 95.39 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.6961, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0005245/0.6966, allocations: 177.6 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.6967, allocations: 59.41 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.6967, allocations: 129.8 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.6968, allocations: 25.7 kB / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.6968, allocations: 100.3 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.6969, allocations: 15.91 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.6969, allocations: 29.7 kB / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.697, allocations: 326.8 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.6971, allocations: 27.98 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.6972, allocations: 75.83 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.6974, allocations: 96.2 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6974, allocations: 0 / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002642/0.6977, allocations: 129.5 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6977, allocations: 4 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6977, allocations: 4 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6977, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6979, allocations: 19.92 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.6979, allocations: 0 / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.698, allocations: 15.98 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.698, allocations: 11.98 kB / 1.225 GB, free: 12.39 MB / 0.9512 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 9.236e-05/0.6981, allocations: 127.8 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.6981, allocations: 7.953 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.6982, allocations: 8.375 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6982, allocations: 7.938 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6982, allocations: 0 / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.6982, allocations: 3.984 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.6987, allocations: 422.4 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.6987, allocations: 4.062 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.6988, allocations: 4 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.6988, allocations: 4 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.6988, allocations: 7.922 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6988, allocations: 0 / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6988, allocations: 3.938 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.6992, allocations: 243.4 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.6993, allocations: 81.06 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.6993, allocations: 8 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.6994, allocations: 7.984 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.6995, allocations: 3.938 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.6995, allocations: 11.92 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.256e-05/0.6996, allocations: 103.3 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6996, allocations: 0 / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003197/0.6999, allocations: 43.88 kB / 1.226 GB, free: 11.2 MB / 0.9512 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.0008434/0.7007, allocations: 0.8414 MB / 1.227 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.701, allocations: 87.88 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7011, allocations: 0 / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.7012, allocations: 51.91 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.7015, allocations: 16.12 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.7031, allocations: 1.578 MB / 1.229 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.7033, allocations: 0.6885 MB / 1.229 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.7034, allocations: 4 kB / 1.229 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.7034, allocations: 31.36 kB / 1.229 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.7034, allocations: 4 kB / 1.229 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.7215, allocations: 2.997 MB / 1.232 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.336, allocations: 9.562 kB / 1.232 GB, free: 4.91 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_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_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TOut,win.pClose,win.pOpen,TOut.amplitude,TOut.f