Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 182 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6851/0.6856, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00178/0.6874, allocations: 1.309 MB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.6888, allocations: 0.7714 MB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.6889, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.689, allocations: 3.938 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.6891, allocations: 23.78 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.6897, allocations: 119.7 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.6899, allocations: 131.6 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.69, allocations: 16 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.6901, allocations: 55.83 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.6903, allocations: 59.8 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.6903, allocations: 4 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.6905, allocations: 99.84 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.6906, allocations: 27.88 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.6907, allocations: 77.42 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.6909, allocations: 133.7 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6909, allocations: 4 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6909, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.6909, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.7794 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.0007353/0.6917, allocations: 458.5 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6917, allocations: 16.03 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.6918, allocations: 8.844 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.6919, allocations: 187.5 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.692, allocations: 12.3 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.692, allocations: 8.125 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.6923, allocations: 105.6 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.6923, allocations: 3.938 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.6923, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.6923, allocations: 8 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.6926, allocations: 67.95 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.6934, allocations: 380.6 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.6936, allocations: 74.48 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.6938, allocations: 60.83 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.6938, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.694, allocations: 103.3 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.6941, allocations: 4 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005816/0.6946, allocations: 229.4 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.6947, allocations: 63.55 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.6948, allocations: 137.8 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.6948, allocations: 33.7 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.6949, allocations: 104.3 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.6949, allocations: 15.66 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.695, allocations: 29.81 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.6951, allocations: 322.8 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.6952, allocations: 51.97 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.6954, allocations: 83.77 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.6956, allocations: 116.2 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6957, allocations: 4 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003639/0.696, allocations: 165.4 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6961, allocations: 4 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6961, allocations: 4 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.6961, allocations: 4.031 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.6962, allocations: 19.98 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6963, allocations: 12.02 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.6964, allocations: 28.2 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.6964, allocations: 4 kB / 1.029 GB, free: 9.875 MB / 0.7794 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.0001034/0.6965, allocations: 124 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.6965, allocations: 11.89 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.6966, allocations: 16.66 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6966, allocations: 4 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6966, allocations: 3.938 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6966, allocations: 4 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.6972, allocations: 458.4 kB / 1.03 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.6972, allocations: 8.062 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.6973, allocations: 15.98 kB / 1.03 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.6973, allocations: 3.938 kB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.6973, allocations: 0 / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6973, allocations: 0 / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6974, allocations: 3.984 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.6978, allocations: 279.2 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.6978, allocations: 92.89 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.6979, allocations: 0 / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.698, allocations: 15.98 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.6981, allocations: 11.92 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.6981, allocations: 4 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.6982, allocations: 113.5 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.6982, allocations: 0 / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003242/0.6985, allocations: 40 kB / 1.03 GB, free: 8.59 MB / 0.7794 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.0003505/0.6989, allocations: 162.2 kB / 1.031 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.6992, allocations: 119.9 kB / 1.031 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6992, allocations: 0 / 1.031 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.6994, allocations: 64.09 kB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.6997, allocations: 21.47 kB / 1.031 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.7002, allocations: 283 kB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.7005, allocations: 0.7004 MB / 1.032 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.7005, allocations: 15.44 kB / 1.032 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of SimCode: time 1.362e-06/0.7005, allocations: 4 kB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of Templates: time 0.004054/0.7046, allocations: 2.034 MB / 1.034 GB, free: 5.148 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches