Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001571/0.001571, allocations: 104.9 kB / 16.45 MB, free: 6.453 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.001452/0.001452, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.898/2.898, allocations: 476.7 MB / 0.7672 GB, free: 5.316 MB / 0.6231 GB " [Timeout remaining time 176] 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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.002096/0.002096, allocations: 71.88 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9029/0.905, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003017/0.908, allocations: 1.622 MB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.9096, allocations: 0.8624 MB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.9097, allocations: 4 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.9097, allocations: 7.875 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.9098, allocations: 23.78 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.9104, allocations: 167.5 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.9106, allocations: 139.6 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.9107, allocations: 17.19 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.9109, allocations: 75.75 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.911, allocations: 75.72 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.9111, allocations: 12 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.9113, allocations: 115.8 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.9114, allocations: 31.91 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/0.9114, allocations: 55.7 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.9118, allocations: 205.3 kB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.9118, allocations: 0 / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9118, allocations: 0 / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.9118, allocations: 0 / 1.282 GB, free: 10.02 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008842/0.9127, allocations: 498 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.9127, allocations: 8.031 kB / 1.282 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.9128, allocations: 34.75 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/0.9135, allocations: 76.78 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.9138, allocations: 204.1 kB / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.9138, allocations: 384 / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.9139, allocations: 16.36 kB / 1.282 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.9142, allocations: 97.75 kB / 1.282 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.9142, allocations: 3.938 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.9142, allocations: 0 / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.9142, allocations: 4 kB / 1.282 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.9144, allocations: 59.95 kB / 1.283 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.9153, allocations: 384.6 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.9155, allocations: 58.55 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.9157, allocations: 44.83 kB / 1.283 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.9157, allocations: 4 kB / 1.283 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.9159, allocations: 111.3 kB / 1.283 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.644e-06/0.9159, allocations: 0 / 1.283 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006338/0.9166, allocations: 205.6 kB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.9166, allocations: 63.33 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.9168, allocations: 149.3 kB / 1.284 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.9168, allocations: 29.7 kB / 1.284 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.9169, allocations: 100.4 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.9169, allocations: 35.92 kB / 1.284 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.917, allocations: 29.7 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9171, allocations: 330.8 kB / 1.284 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.9173, allocations: 35.98 kB / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.9174, allocations: 80.25 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.9177, allocations: 112.2 kB / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9177, allocations: 0 / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003756/0.9181, allocations: 161.5 kB / 1.284 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.9181, allocations: 6.5 kB / 1.284 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9181, allocations: 4 kB / 1.284 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.9181, allocations: 4.031 kB / 1.284 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.9183, allocations: 19.92 kB / 1.284 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9183, allocations: 4 kB / 1.284 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.9184, allocations: 20.41 kB / 1.284 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.9184, allocations: 4 kB / 1.284 GB, free: 6.805 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.0001125/0.9185, allocations: 125.7 kB / 1.285 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.9185, allocations: 11.95 kB / 1.285 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.9186, allocations: 20.64 kB / 1.285 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9186, allocations: 0 / 1.285 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9186, allocations: 0 / 1.285 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.9186, allocations: 4 kB / 1.285 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.9193, allocations: 462.3 kB / 1.285 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9193, allocations: 0 / 1.285 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.9194, allocations: 15.92 kB / 1.285 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.9194, allocations: 0 / 1.285 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.9194, allocations: 0 / 1.285 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.9194, allocations: 7.938 kB / 1.285 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.9194, allocations: 0 / 1.285 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.9198, allocations: 267.4 kB / 1.285 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.9199, allocations: 89.02 kB / 1.285 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.9199, allocations: 4 kB / 1.285 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.9201, allocations: 15.92 kB / 1.285 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.9201, allocations: 7.922 kB / 1.285 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.9201, allocations: 4 kB / 1.285 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.966e-05/0.9202, allocations: 117.3 kB / 1.286 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9202, allocations: 0 / 1.286 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003671/0.9206, allocations: 43.88 kB / 1.286 GB, free: 5.527 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.001063/0.9217, allocations: 0.8664 MB / 1.286 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.922, allocations: 107.8 kB / 1.287 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.922, allocations: 0 / 1.287 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.9222, allocations: 51.97 kB / 1.287 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.9225, allocations: 22.34 kB / 1.287 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.9248, allocations: 1.738 MB / 1.288 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.9251, allocations: 0.7002 MB / 1.289 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.751e-05/0.9252, allocations: 12.94 kB / 1.289 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.9253, allocations: 27.42 kB / 1.289 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.9253, allocations: 7.875 kB / 1.289 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.9528, allocations: 3.48 MB / 1.292 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/9.305, allocations: 8.531 kB / 1.292 GB, free: 14.54 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_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_Haldi2009WindowsTInTout.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.678250892087817]