Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7866, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002351/0.789, allocations: 1.671 MB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.7902, allocations: 0.8046 MB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.7902, allocations: 1 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.7902, allocations: 14.03 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.7903, allocations: 21.12 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.7908, allocations: 154.2 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.791, allocations: 151.9 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.7911, allocations: 18.2 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.7912, allocations: 65.94 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.7912, allocations: 79.86 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.7913, allocations: 17.88 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.7915, allocations: 111.8 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.7915, allocations: 33.84 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.7916, allocations: 63.08 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.7918, allocations: 207.4 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.7918, allocations: 0 / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7918, allocations: 0.9688 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.7918, allocations: 0 / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006084/0.7924, allocations: 0.5442 MB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.7924, allocations: 8.875 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.7925, allocations: 41.7 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.7925, allocations: 14.62 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.483e-05/0.7926, allocations: 181.8 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.7926, allocations: 7.406 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.7926, allocations: 4.875 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.793, allocations: 145.8 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.7931, allocations: 0 / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7931, allocations: 0.875 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.7931, allocations: 1.562 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.7935, allocations: 110.5 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.7941, allocations: 379 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.7944, allocations: 97.64 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.7947, allocations: 78.38 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.7947, allocations: 6.75 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.7951, allocations: 147.5 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.7951, allocations: 0 / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001048/0.7961, allocations: 310.2 kB / 1.277 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.7962, allocations: 53.31 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.733e-05/0.7963, allocations: 149 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.7963, allocations: 31.17 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.7963, allocations: 109.6 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.7963, allocations: 22.62 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.7964, allocations: 30.16 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.7964, allocations: 325.8 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.7965, allocations: 42.16 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.7967, allocations: 81.06 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.7969, allocations: 129.3 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7969, allocations: 1.219 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003221/0.7972, allocations: 152 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.7972, allocations: 5.719 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.7973, allocations: 1.625 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7973, allocations: 6.344 kB / 1.278 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.7974, allocations: 23.55 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7974, allocations: 2.953 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.7975, allocations: 21.41 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.7975, allocations: 10.56 kB / 1.278 GB, free: 3.238 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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 6.604e-05/0.7976, allocations: 121.5 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.7976, allocations: 8.797 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.7976, allocations: 17.61 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7976, allocations: 5.656 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7976, allocations: 0 / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7977, allocations: 1.188 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/0.7985, allocations: 0.5238 MB / 1.278 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7985, allocations: 0 / 1.278 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.7986, allocations: 18.55 kB / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7986, allocations: 0.9062 kB / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.7986, allocations: 7.281 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.7986, allocations: 5.031 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7986, allocations: 0 / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.7993, allocations: 329.4 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.7993, allocations: 91.86 kB / 1.279 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.7994, allocations: 11.27 kB / 1.279 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.7996, allocations: 23.3 kB / 1.279 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.7996, allocations: 8.344 kB / 1.279 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.7996, allocations: 9.109 kB / 1.279 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.7997, allocations: 108.8 kB / 1.279 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7997, allocations: 1.031 kB / 1.279 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003198/0.8, allocations: 45.98 kB / 1.279 GB, free: 2.312 MB / 0.9981 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001243/0.8012, allocations: 0.9236 MB / 1.28 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005044/0.8018, allocations: 150.8 kB / 1.28 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8018, allocations: 0 / 1.28 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.8021, allocations: 77.78 kB / 1.28 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.8023, allocations: 21.44 kB / 1.28 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.8043, allocations: 1.786 MB / 1.282 GB, free: 16.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.8046, allocations: 0.7089 MB / 1.283 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.8047, allocations: 6.438 kB / 1.283 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.8047, allocations: 32.66 kB / 1.283 GB, free: 15.32 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.8047, allocations: 0 / 1.283 GB, free: 15.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.8293, allocations: 3.499 MB / 1.286 GB, free: 14.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.966, allocations: 9.25 kB / 1.286 GB, free: 14.75 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.342760231003922]