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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 101.8 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 71.89 kB / 1.112 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.9377, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003807/0.9415, allocations: 1.678 MB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.9436, allocations: 0.8781 MB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.9437, allocations: 0 / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.467e-05/0.9438, allocations: 15.86 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.9439, allocations: 31.66 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.9447, allocations: 167.5 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000256/0.945, allocations: 175.5 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.9451, allocations: 9.125 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.9453, allocations: 75.75 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.9454, allocations: 83.7 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.9455, allocations: 20 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.9457, allocations: 107.9 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.9458, allocations: 35.91 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.9459, allocations: 63.69 kB / 1.282 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.9463, allocations: 217.2 kB / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9463, allocations: 0 / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9463, allocations: 0 / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.9463, allocations: 0 / 1.282 GB, free: 9.871 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009838/0.9473, allocations: 0.556 MB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9473, allocations: 12.03 kB / 1.282 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.9474, allocations: 34.75 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007085/0.9481, allocations: 84.7 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.9484, allocations: 214.4 kB / 1.283 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.9484, allocations: 8.359 kB / 1.283 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.9484, allocations: 8.375 kB / 1.283 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.9489, allocations: 141.6 kB / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.9489, allocations: 0 / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.9489, allocations: 8 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.949, allocations: 0 / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.9494, allocations: 103.9 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.9502, allocations: 380.6 kB / 1.283 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.9506, allocations: 98.44 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.9509, allocations: 88.8 kB / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.951, allocations: 4.141 kB / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004289/0.9514, allocations: 143.3 kB / 1.284 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.9514, allocations: 0 / 1.284 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001186/0.9526, allocations: 309.3 kB / 1.284 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.9527, allocations: 63.33 kB / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.9528, allocations: 156.2 kB / 1.284 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.9529, allocations: 29.7 kB / 1.284 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.9529, allocations: 100.4 kB / 1.284 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.953, allocations: 27.78 kB / 1.284 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.953, allocations: 33.7 kB / 1.284 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.9532, allocations: 326.8 kB / 1.285 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.9533, allocations: 39.97 kB / 1.285 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.9535, allocations: 79 kB / 1.285 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.9538, allocations: 125 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9538, allocations: 0 / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003882/0.9542, allocations: 161.4 kB / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9542, allocations: 4 kB / 1.285 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9542, allocations: 4 kB / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9542, allocations: 0 / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.9544, allocations: 27.91 kB / 1.285 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9544, allocations: 4 kB / 1.285 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.9545, allocations: 24 kB / 1.285 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.9545, allocations: 11.94 kB / 1.285 GB, free: 6.223 MB / 0.9825 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 0.0001348/0.9547, allocations: 122.3 kB / 1.285 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.9547, allocations: 7.953 kB / 1.285 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.9548, allocations: 20.7 kB / 1.285 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9548, allocations: 0 / 1.285 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9548, allocations: 0 / 1.285 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9548, allocations: 0 / 1.285 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.9559, allocations: 0.5255 MB / 1.286 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9559, allocations: 0 / 1.286 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.956, allocations: 19.98 kB / 1.286 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.956, allocations: 0 / 1.286 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.956, allocations: 7.984 kB / 1.286 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.956, allocations: 4.406 kB / 1.286 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.956, allocations: 3.984 kB / 1.286 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.9569, allocations: 327.2 kB / 1.286 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.9569, allocations: 93.05 kB / 1.286 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.957, allocations: 7.984 kB / 1.286 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.9572, allocations: 27.89 kB / 1.286 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.9573, allocations: 11.98 kB / 1.286 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.9573, allocations: 8 kB / 1.286 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.741e-05/0.9574, allocations: 113 kB / 1.286 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9574, allocations: 0 / 1.286 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003597/0.9577, allocations: 51.86 kB / 1.286 GB, free: 4.781 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: 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.001543/0.9593, allocations: 0.9176 MB / 1.287 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005605/0.9598, allocations: 139.8 kB / 1.287 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9598, allocations: 256 / 1.287 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.9602, allocations: 95.84 kB / 1.287 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.9605, allocations: 11.94 kB / 1.287 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.9632, allocations: 1.8 MB / 1.289 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.9635, allocations: 0.7002 MB / 1.29 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.01e-05/0.9636, allocations: 8.672 kB / 1.29 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.9636, allocations: 35.42 kB / 1.29 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/0.9636, allocations: 0 / 1.29 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.9915, allocations: 3.595 MB / 1.293 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/9.371, allocations: 8.5 kB / 1.293 GB, free: 13.5 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.711736586876214]