Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_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.006662/0.006662, 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.001634/0.001634, 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.325/1.325, 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 9.1.3-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7116/0.713, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002372/0.7154, allocations: 1.526 MB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.7166, allocations: 0.7544 MB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.7166, allocations: 0 / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.7167, allocations: 4.688 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.7167, allocations: 11.47 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.7173, allocations: 139 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.7174, allocations: 106.8 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.7175, allocations: 11.34 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.7176, allocations: 55.28 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.7177, allocations: 49.91 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.7177, allocations: 9.25 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.7179, allocations: 97.33 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.718, allocations: 30.67 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.718, allocations: 35.83 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.7183, allocations: 173.4 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7183, allocations: 4.797 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7184, allocations: 1.188 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7184, allocations: 0 / 1.09 GB, free: 3.383 MB / 0.8575 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.0006028/0.719, allocations: 460.5 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.719, allocations: 10.05 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.719, allocations: 33.7 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.7191, allocations: 8.844 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.506e-05/0.7192, allocations: 177.9 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.7192, allocations: 7.188 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.7192, allocations: 9.719 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.7195, allocations: 94.81 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.7195, allocations: 0 / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.7195, allocations: 1.797 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7195, allocations: 1.469 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.7197, allocations: 46.81 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.7204, allocations: 346.4 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.7206, allocations: 62.78 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.7207, allocations: 44.3 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.7208, allocations: 5.531 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.721, allocations: 98.48 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/0.721, allocations: 96 / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0006117/0.7217, allocations: 182.8 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.7217, allocations: 58.94 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.7218, allocations: 129.8 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.7218, allocations: 27.62 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.7219, allocations: 93.45 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.7219, allocations: 20.11 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.722, allocations: 30.83 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.7221, allocations: 327.8 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.7222, allocations: 33.25 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.7223, allocations: 67.64 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.7225, allocations: 94.75 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7225, allocations: 4.75 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003139/0.7229, allocations: 130.7 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7229, allocations: 6.109 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7229, allocations: 1.875 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.7229, allocations: 1.938 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.7231, allocations: 22.47 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7231, allocations: 2.469 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.238e-05/0.7232, allocations: 17.22 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.7232, allocations: 5.312 kB / 1.093 GB, free: 1.211 MB / 0.8575 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.502e-05/0.7233, allocations: 120.4 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.7233, allocations: 7.875 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.7234, allocations: 15.98 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.7234, allocations: 5.016 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.7234, allocations: 0.9375 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7234, allocations: 0.6562 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.7241, allocations: 433.4 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.7241, allocations: 0.6094 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.7241, allocations: 5.016 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7241, allocations: 0.6875 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.7242, allocations: 3.5 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7242, allocations: 0.9375 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.7242, allocations: 8.719 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.7247, allocations: 248.6 kB / 1.094 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.7247, allocations: 80.5 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.7247, allocations: 6.328 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.7249, allocations: 6.266 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.7249, allocations: 9.391 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.7249, allocations: 4.328 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.807e-05/0.725, allocations: 103.5 kB / 1.094 GB, free: 352 kB / 0.8575 GB Notification: Performance of sort global known variables: time 3.81e-07/0.725, allocations: 0 / 1.094 GB, free: 352 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003467/0.7254, allocations: 49.72 kB / 1.094 GB, free: 336 kB / 0.8575 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.0009395/0.7263, allocations: 0.8423 MB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.7266, allocations: 94.44 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7267, allocations: 0 / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.7268, allocations: 50.03 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.7271, allocations: 17.92 kB / 1.095 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.729, allocations: 1.576 MB / 1.097 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.7293, allocations: 0.6893 MB / 1.097 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.033e-05/0.7293, allocations: 9.781 kB / 1.097 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.7294, allocations: 21.73 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.7294, allocations: 0.625 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.7493, allocations: 3 MB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.452/8.201, allocations: 12.92 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_9_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