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.001431/0.001431, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00164/0.00164, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9099/0.9099, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.859/1.859, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.899e-05, allocations: 2.938 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001879/0.001898, allocations: 1.64 MB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002991, allocations: 0.8562 MB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.003057, allocations: 0 / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.003094, allocations: 7.875 kB / 0.7895 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.003156, allocations: 20.86 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.003761, allocations: 180.8 kB / 0.7897 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.0039, allocations: 143.5 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.003989, allocations: 17.53 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.004146, allocations: 87.84 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.004221, allocations: 61.41 kB / 0.79 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.004245, allocations: 12 kB / 0.79 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.004453, allocations: 143.7 kB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.004483, allocations: 31.89 kB / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.004527, allocations: 40.83 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.004764, allocations: 195.4 kB / 0.7904 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004766, allocations: 0.5938 kB / 0.7904 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004767, allocations: 0 / 0.7904 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.004771, allocations: 1.281 kB / 0.7904 GB, free: 9.055 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000551/0.005322, allocations: 0.5071 MB / 0.7909 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.005356, allocations: 10.09 kB / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.00569, allocations: 74.95 kB / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.005858, allocations: 155.4 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.005879, allocations: 4.375 kB / 0.7912 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.005894, allocations: 12.36 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.006055, allocations: 87.61 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.006062, allocations: 192 / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.006074, allocations: 0.9062 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.006084, allocations: 9.594 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.006136, allocations: 19.98 kB / 0.7913 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.006593, allocations: 340.3 kB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.006672, allocations: 48.31 kB / 0.7916 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.006713, allocations: 27.62 kB / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.006732, allocations: 7.922 kB / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.587e-05/0.006828, allocations: 90.02 kB / 0.7918 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.006829, allocations: 0 / 0.7918 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.00029/0.007119, allocations: 145.5 kB / 0.7919 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.007154, allocations: 60.78 kB / 0.792 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.007255, allocations: 197.9 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.007271, allocations: 33.7 kB / 0.7922 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.007477, allocations: 147.1 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.007501, allocations: 33.67 kB / 0.7924 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.007543, allocations: 35.36 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.007649, allocations: 0.4962 MB / 0.7929 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.007684, allocations: 11.98 kB / 0.7929 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.00774, allocations: 63.3 kB / 0.7929 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.126e-05/0.007831, allocations: 91.92 kB / 0.793 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007833, allocations: 0 / 0.793 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001485/0.007981, allocations: 114.6 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.007994, allocations: 11.98 kB / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007999, allocations: 0 / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.008011, allocations: 3.156 kB / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.008101, allocations: 23.92 kB / 0.7932 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.008107, allocations: 4 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.008152, allocations: 15.89 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.008165, allocations: 7.984 kB / 0.7932 GB, free: 5.957 MB / 0.7448 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.646e-05/0.008241, allocations: 160.6 kB / 0.7934 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.008259, allocations: 20.38 kB / 0.7934 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.008282, allocations: 12.78 kB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008284, allocations: 1.938 kB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.008287, allocations: 3.938 kB / 0.7934 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008291, allocations: 3.984 kB / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.008611, allocations: 409.2 kB / 0.7938 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008612, allocations: 0 / 0.7938 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.008642, allocations: 10.45 kB / 0.7938 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008643, allocations: 0 / 0.7938 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.008656, allocations: 7.984 kB / 0.7938 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.008658, allocations: 0 / 0.7938 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008659, allocations: 3.938 kB / 0.7938 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.008842, allocations: 279.7 kB / 0.7941 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.008851, allocations: 8.734 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.008871, allocations: 11.98 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.008924, allocations: 4.844 kB / 0.7941 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.008961, allocations: 4.047 kB / 0.7941 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.008975, allocations: 11.98 kB / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.009026, allocations: 150.7 kB / 0.7943 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009026, allocations: 0 / 0.7943 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002111/0.009238, allocations: 51.88 kB / 0.7943 GB, free: 4.766 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: 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.0002882/0.009526, allocations: 178.2 kB / 0.7945 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.00968, allocations: 69.78 kB / 0.7946 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009682, allocations: 0 / 0.7946 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.009735, allocations: 41.97 kB / 0.7946 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.009929, allocations: 19.92 kB / 0.7946 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.01049, allocations: 234.9 kB / 0.7948 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.562e-05/0.01053, allocations: 63.34 kB / 0.7949 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.01056, allocations: 11.03 kB / 0.7949 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.01059, allocations: 16.48 kB / 0.7949 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.0106, allocations: 1.031 kB / 0.7949 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of Templates: time 0.003862/0.01446, allocations: 2.212 MB / 0.7971 GB, free: 1.914 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.99731472088024]