Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001416/0.001416, allocations: 109.7 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.0014/0.0014, 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.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] 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.52/2.52, allocations: 476.7 MB / 0.7628 GB, free: 15.1 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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.784/0.7858, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002133/0.788, allocations: 1.525 MB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.789, allocations: 0.7464 MB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.789, allocations: 0.875 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.7891, allocations: 5.516 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.7891, allocations: 10.31 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.7896, allocations: 120.9 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.7896, allocations: 83.3 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.7897, allocations: 7.797 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.7898, allocations: 35.02 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.7899, allocations: 49.58 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.7899, allocations: 6.375 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.79, allocations: 100.8 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.7901, allocations: 10.3 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.7901, allocations: 42.47 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.7903, allocations: 137.5 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7903, allocations: 0 / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7903, allocations: 0.9062 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.7903, allocations: 0 / 1.274 GB, free: 5.883 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004617/0.7908, allocations: 422.6 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.7908, allocations: 10.78 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.7908, allocations: 36.62 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.7908, allocations: 7.672 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.314e-05/0.7909, allocations: 170.4 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.7909, allocations: 3.406 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.7909, allocations: 14.44 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.7911, allocations: 71.28 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7911, allocations: 0 / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.7911, allocations: 4.906 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7911, allocations: 1.125 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.7912, allocations: 35.2 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.7917, allocations: 319.2 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.7918, allocations: 52.62 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.7919, allocations: 29.5 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.7919, allocations: 0.8125 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.792, allocations: 81.11 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.792, allocations: 0 / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003452/0.7924, allocations: 138.9 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.7924, allocations: 61 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.7925, allocations: 122.3 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.7925, allocations: 31.42 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.7925, allocations: 89.88 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.7925, allocations: 14.31 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.7926, allocations: 30.86 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.7926, allocations: 318.4 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.7927, allocations: 31.83 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.7928, allocations: 50.64 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.7929, allocations: 76.42 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7929, allocations: 0.6875 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002089/0.7931, allocations: 116.9 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.7931, allocations: 5.219 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.7931, allocations: 0.8438 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.7931, allocations: 1.906 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.7932, allocations: 14.14 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7932, allocations: 2.203 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.7933, allocations: 9.375 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.7933, allocations: 3.328 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.384e-05/0.7934, allocations: 132.9 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.7934, allocations: 7.234 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.7934, allocations: 7.172 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7934, allocations: 5.031 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.7934, allocations: 0 / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7934, allocations: 0.875 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.7937, allocations: 386.7 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7937, allocations: 0.6875 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.7938, allocations: 7.797 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7938, allocations: 1.625 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.7938, allocations: 7.172 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7938, allocations: 5.094 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7938, allocations: 0 / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.794, allocations: 210.5 kB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.794, allocations: 81.62 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.7941, allocations: 1.062 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.7941, allocations: 7.688 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.7942, allocations: 8.969 kB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.7942, allocations: 2.609 kB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.7942, allocations: 92.98 kB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7942, allocations: 0 / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002619/0.7945, allocations: 41.88 kB / 1.277 GB, free: 2.996 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0005632/0.795, allocations: 0.8081 MB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.7952, allocations: 78.73 kB / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7953, allocations: 0.8125 kB / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.7953, allocations: 30.98 kB / 1.278 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.7956, allocations: 16.77 kB / 1.278 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.7968, allocations: 1.507 MB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.7971, allocations: 0.6904 MB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.7971, allocations: 5.703 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.7972, allocations: 24.75 kB / 1.28 GB, free: 16.19 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7972, allocations: 3.938 kB / 1.28 GB, free: 16.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.8219, allocations: 2.646 MB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.921, allocations: 10.11 kB / 1.283 GB, free: 15.68 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_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_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 13.352340813995397]