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.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.001776/0.001776, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001891/0.001891, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.923/2.923, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.246e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00307/0.003103, allocations: 1.525 MB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.004754, allocations: 0.7843 MB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.004803, allocations: 0 / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.00483, allocations: 4.969 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.004895, allocations: 15.86 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.005595, allocations: 149.4 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.005743, allocations: 83.69 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.005834, allocations: 8.188 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.006015, allocations: 51.88 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.006085, allocations: 25.03 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.00611, allocations: 8 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.006431, allocations: 147.7 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.006461, allocations: 13.03 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.006515, allocations: 23.92 kB / 0.7891 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.006841, allocations: 179.4 kB / 0.7893 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006844, allocations: 1.219 kB / 0.7893 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006845, allocations: 0 / 0.7893 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.006849, allocations: 0 / 0.7893 GB, free: 9.797 MB / 0.7448 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.0007089/0.007558, allocations: 447.2 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.007592, allocations: 8.031 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.007919, allocations: 38.27 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.008141, allocations: 128.5 kB / 0.7899 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.008164, allocations: 8.312 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.008183, allocations: 11.22 kB / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.008375, allocations: 74.14 kB / 0.79 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.008384, allocations: 192 / 0.79 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.008397, allocations: 4.125 kB / 0.79 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.008402, allocations: 0 / 0.79 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.008535, allocations: 35.97 kB / 0.79 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.009155, allocations: 304.4 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.009305, allocations: 56.64 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.009392, allocations: 31.8 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.009416, allocations: 3.938 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.009583, allocations: 82.41 kB / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.009584, allocations: 0 / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004508/0.01004, allocations: 143 kB / 0.7906 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.01009, allocations: 55.34 kB / 0.7907 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.01049, allocations: 196.4 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.01051, allocations: 26.92 kB / 0.7909 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.01061, allocations: 138.9 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.01064, allocations: 19.84 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.01071, allocations: 41.11 kB / 0.7911 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002785/0.01099, allocations: 0.4923 MB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.01107, allocations: 19.98 kB / 0.7916 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.01119, allocations: 63.05 kB / 0.7916 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.01137, allocations: 88.22 kB / 0.7917 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01137, allocations: 0.5 kB / 0.7917 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002687/0.01164, allocations: 119.2 kB / 0.7918 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01165, allocations: 4 kB / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01166, allocations: 0 / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01167, allocations: 5.75 kB / 0.7918 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.0118, allocations: 15.98 kB / 0.7919 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.0118, allocations: 0 / 0.7919 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.599e-05/0.01187, allocations: 11.95 kB / 0.7919 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.01189, allocations: 4 kB / 0.7919 GB, free: 6.949 MB / 0.7448 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 0.0001391/0.01202, allocations: 169.3 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.01205, allocations: 16.42 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.01208, allocations: 9.156 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01208, allocations: 0 / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01208, allocations: 0.5312 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.01209, allocations: 5.312 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.01263, allocations: 381.2 kB / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01264, allocations: 0 / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.01267, allocations: 4.531 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01267, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.01271, allocations: 8.797 kB / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01271, allocations: 4 kB / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01271, allocations: 0.9375 kB / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.01309, allocations: 267.8 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.0131, allocations: 5.297 kB / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01313, allocations: 4 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.01321, allocations: 3.984 kB / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.01326, allocations: 8.781 kB / 0.7927 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.01327, allocations: 3.984 kB / 0.7927 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001037/0.01337, allocations: 145.1 kB / 0.7929 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01337, allocations: 3.938 kB / 0.7929 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003117/0.01369, allocations: 35.94 kB / 0.7929 GB, free: 5.836 MB / 0.7448 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.0005262/0.01421, allocations: 179.3 kB / 0.7931 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.01448, allocations: 79.81 kB / 0.7931 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01448, allocations: 0 / 0.7931 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.01461, allocations: 43.81 kB / 0.7932 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.01488, allocations: 15.52 kB / 0.7932 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.01534, allocations: 187.3 kB / 0.7934 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.834e-05/0.01543, allocations: 72.02 kB / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.761e-05/0.01546, allocations: 5.812 kB / 0.7935 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.01551, allocations: 20.44 kB / 0.7935 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01551, allocations: 0 / 0.7935 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.005295/0.0208, allocations: 1.516 MB / 0.795 GB, free: 3.723 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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: 8.03964604192879]