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.001411/0.001411, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001627/0.001627, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.992 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.802/2.802, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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.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.002115/0.002115, allocations: 65.67 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3735, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003421/0.3769, allocations: 1.634 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3786, allocations: 0.8782 MB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.3787, allocations: 0 / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.3787, allocations: 11.86 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/0.3788, allocations: 19.8 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.3795, allocations: 171.5 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.3797, allocations: 147.6 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3798, allocations: 21.36 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.38, allocations: 63.77 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.3802, allocations: 79.72 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3802, allocations: 12 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.3805, allocations: 147.8 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.3806, allocations: 31.89 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.3807, allocations: 55.72 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.381, allocations: 199.5 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.381, allocations: 0 / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.381, allocations: 4 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.381, allocations: 0 / 1.287 GB, free: 8.32 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.0007834/0.3818, allocations: 421 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3818, allocations: 8.031 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.3819, allocations: 38.73 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.3825, allocations: 68.84 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.3828, allocations: 154.2 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.3829, allocations: 12.38 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3829, allocations: 4.375 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3831, allocations: 101.8 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3832, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3832, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3832, allocations: 4 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.3834, allocations: 63.95 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.3843, allocations: 347.5 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.3844, allocations: 70.55 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3846, allocations: 44.83 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3846, allocations: 4.141 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.3848, allocations: 103.3 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3848, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005841/0.3854, allocations: 221.5 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3855, allocations: 51.41 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3856, allocations: 153.1 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3857, allocations: 29.7 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.3857, allocations: 100.4 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.3858, allocations: 23.84 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.3858, allocations: 33.7 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.386, allocations: 326.8 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.3861, allocations: 39.97 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3862, allocations: 73.14 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3865, allocations: 108.2 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3865, allocations: 0 / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003533/0.3868, allocations: 165.5 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3868, allocations: 10.19 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3869, allocations: 384 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3869, allocations: 4 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.387, allocations: 19.92 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.387, allocations: 4 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.3871, allocations: 19.81 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.3871, allocations: 8 kB / 1.289 GB, free: 5.305 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.0001225/0.3873, allocations: 127.2 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3873, allocations: 7.953 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.3873, allocations: 16.7 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3873, allocations: 0 / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3873, allocations: 0 / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3873, allocations: 0 / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.388, allocations: 441.4 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.388, allocations: 4.062 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.3881, allocations: 19.92 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3881, allocations: 0 / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3881, allocations: 112 / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3881, allocations: 7.875 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3881, allocations: 0 / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.3885, allocations: 271.3 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.3886, allocations: 15.91 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.3886, allocations: 0 / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3887, allocations: 11.92 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3887, allocations: 11.98 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3888, allocations: 4 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.981e-05/0.3888, allocations: 109.9 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3888, allocations: 0 / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003281/0.3892, allocations: 43.94 kB / 1.29 GB, free: 4.164 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.001034/0.3902, allocations: 0.8614 MB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.3905, allocations: 107.9 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3905, allocations: 0 / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3907, allocations: 51.91 kB / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.391, allocations: 23.95 kB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3932, allocations: 1.74 MB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3936, allocations: 0.7002 MB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.211e-05/0.3937, allocations: 8.656 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.3937, allocations: 31.36 kB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3937, allocations: 4 kB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.4245, allocations: 3.611 MB / 1.297 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.6, allocations: 4.516 kB / 1.297 GB, free: 13.03 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.660535895000066]