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.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.001718/0.001718, allocations: 104 kB / 16.45 MB, free: 6.445 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.001917/0.001917, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.527/1.527, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.842/2.842, allocations: 476.7 MB / 0.7611 GB, free: 15.83 MB / 0.6075 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.88 kB / 1.104 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9951/0.9972, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002479/0.9997, allocations: 1.605 MB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001236/1.001, allocations: 0.7861 MB / 1.271 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/1.001, allocations: 0.75 kB / 1.271 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/1.001, allocations: 10.41 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/1.001, allocations: 23.14 kB / 1.271 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/1.002, allocations: 145.1 kB / 1.271 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/1.002, allocations: 135.9 kB / 1.271 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/1.002, allocations: 23.61 kB / 1.271 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/1.002, allocations: 56.31 kB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/1.002, allocations: 68.64 kB / 1.272 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/1.002, allocations: 15.94 kB / 1.272 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/1.002, allocations: 111 kB / 1.272 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/1.002, allocations: 41 kB / 1.272 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/1.002, allocations: 51.33 kB / 1.272 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/1.003, allocations: 192.8 kB / 1.272 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.003, allocations: 4.5 kB / 1.272 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/1.003, allocations: 0 / 1.272 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.239e-06/1.003, allocations: 0.875 kB / 1.272 GB, free: 5.719 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006881/1.003, allocations: 491.4 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.004, allocations: 9.625 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/1.004, allocations: 38 kB / 1.272 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/1.004, allocations: 11.08 kB / 1.272 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.849e-05/1.004, allocations: 181.9 kB / 1.273 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/1.004, allocations: 8.703 kB / 1.273 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/1.004, allocations: 8.781 kB / 1.273 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/1.004, allocations: 96.78 kB / 1.273 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/1.004, allocations: 0 / 1.273 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/1.004, allocations: 13.53 kB / 1.273 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.004, allocations: 1.781 kB / 1.273 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/1.004, allocations: 60.91 kB / 1.273 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/1.005, allocations: 370.4 kB / 1.273 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/1.005, allocations: 63.3 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/1.005, allocations: 53.03 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/1.005, allocations: 3.156 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/1.005, allocations: 100.8 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/1.005, allocations: 4 kB / 1.273 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005426/1.006, allocations: 210.2 kB / 1.274 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.006, allocations: 55.69 kB / 1.274 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/1.006, allocations: 148.4 kB / 1.274 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/1.006, allocations: 32.02 kB / 1.274 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/1.006, allocations: 96.89 kB / 1.274 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/1.006, allocations: 29 kB / 1.274 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/1.006, allocations: 36.36 kB / 1.274 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/1.006, allocations: 325.1 kB / 1.274 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/1.006, allocations: 42.02 kB / 1.274 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/1.007, allocations: 74.03 kB / 1.274 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/1.007, allocations: 115.7 kB / 1.274 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.007, allocations: 1.062 kB / 1.274 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000309/1.007, allocations: 156.6 kB / 1.275 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.007, allocations: 7.25 kB / 1.275 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.007, allocations: 5.703 kB / 1.275 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.007, allocations: 5.25 kB / 1.275 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.007, allocations: 23.41 kB / 1.275 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.007, allocations: 1.688 kB / 1.275 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/1.007, allocations: 16.97 kB / 1.275 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/1.007, allocations: 8.188 kB / 1.275 GB, free: 3.449 MB / 0.9981 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 7.178e-05/1.007, allocations: 126.6 kB / 1.275 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/1.007, allocations: 8.359 kB / 1.275 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/1.008, allocations: 14.66 kB / 1.275 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.008, allocations: 5.344 kB / 1.275 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.008, allocations: 0 / 1.275 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.008, allocations: 0.875 kB / 1.275 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/1.008, allocations: 450.9 kB / 1.275 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.008, allocations: 4.969 kB / 1.275 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/1.008, allocations: 13.02 kB / 1.275 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.008, allocations: 0.8125 kB / 1.275 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/1.008, allocations: 6.109 kB / 1.275 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.008, allocations: 1.062 kB / 1.275 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.008, allocations: 5.062 kB / 1.275 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/1.009, allocations: 272.7 kB / 1.276 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/1.009, allocations: 87.28 kB / 1.276 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/1.009, allocations: 3 kB / 1.276 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/1.009, allocations: 6.422 kB / 1.276 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/1.009, allocations: 11.52 kB / 1.276 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/1.009, allocations: 7.531 kB / 1.276 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.708e-05/1.009, allocations: 109.3 kB / 1.276 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.009, allocations: 0 / 1.276 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003532/1.009, allocations: 48.52 kB / 1.276 GB, free: 2.543 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: 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.0008224/1.01, allocations: 0.8713 MB / 1.277 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003204/1.01, allocations: 111 kB / 1.277 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.01, allocations: 0 / 1.277 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/1.01, allocations: 57.25 kB / 1.277 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/1.011, allocations: 12.23 kB / 1.277 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/1.013, allocations: 1.721 MB / 1.279 GB, free: 16.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/1.013, allocations: 0.6985 MB / 1.279 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.468e-05/1.013, allocations: 4.719 kB / 1.279 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/1.013, allocations: 35.83 kB / 1.279 GB, free: 15.59 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.013, allocations: 0.9688 kB / 1.279 GB, free: 15.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/1.042, allocations: 3.427 MB / 1.283 GB, free: 15.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/9.243, allocations: 11.69 kB / 1.283 GB, free: 15.05 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.566379563882947]