Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.0009954/0.0009954, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001071/0.001071, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.809/1.809, allocations: 359 MB / 0.6063 GB, free: 10.88 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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.578e-05, allocations: 5.781 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003202/0.003238, allocations: 1.688 MB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004857, allocations: 0.8609 MB / 0.7908 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.004953, allocations: 3.938 kB / 0.7908 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.004998, allocations: 15.8 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.103e-05/0.005089, allocations: 20.77 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.005842, allocations: 185.1 kB / 0.791 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.00602, allocations: 167.4 kB / 0.7912 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.006112, allocations: 25.22 kB / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.006271, allocations: 93.94 kB / 0.7913 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.006349, allocations: 63.84 kB / 0.7913 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.006372, allocations: 12 kB / 0.7913 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.006597, allocations: 147.7 kB / 0.7915 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.006629, allocations: 39.89 kB / 0.7915 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.006672, allocations: 39.89 kB / 0.7916 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.006914, allocations: 213.4 kB / 0.7918 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.006918, allocations: 4 kB / 0.7918 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.11e-07/0.006919, allocations: 0 / 0.7918 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.006923, allocations: 0 / 0.7918 GB, free: 8.672 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005381/0.007461, allocations: 0.5658 MB / 0.7923 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.007497, allocations: 12.03 kB / 0.7923 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.007837, allocations: 71.02 kB / 0.7924 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.008003, allocations: 161 kB / 0.7926 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.008022, allocations: 17.42 kB / 0.7926 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.008036, allocations: 4.375 kB / 0.7926 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.008219, allocations: 108 kB / 0.7927 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.008226, allocations: 192 / 0.7927 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.008237, allocations: 1.75 kB / 0.7927 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.008242, allocations: 3.938 kB / 0.7927 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.82e-05/0.00829, allocations: 19.98 kB / 0.7927 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.008715, allocations: 337.9 kB / 0.793 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.413e-05/0.008799, allocations: 47.03 kB / 0.7931 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.008837, allocations: 24.59 kB / 0.7931 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.008856, allocations: 9.516 kB / 0.7931 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.008961, allocations: 89.03 kB / 0.7932 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.008963, allocations: 4 kB / 0.7932 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002687/0.009231, allocations: 142.7 kB / 0.7933 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.009263, allocations: 51.41 kB / 0.7934 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.009373, allocations: 216.1 kB / 0.7936 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.009387, allocations: 28.83 kB / 0.7936 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.00945, allocations: 155.1 kB / 0.7938 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.009469, allocations: 19.83 kB / 0.7938 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.009513, allocations: 39.45 kB / 0.7938 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.009642, allocations: 0.5039 MB / 0.7943 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.009669, allocations: 4 kB / 0.7943 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.009721, allocations: 68.97 kB / 0.7944 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.009805, allocations: 92.41 kB / 0.7945 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009807, allocations: 0 / 0.7945 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001571/0.009964, allocations: 109.4 kB / 0.7946 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.00998, allocations: 6.5 kB / 0.7946 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.009988, allocations: 4 kB / 0.7946 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.009998, allocations: 0 / 0.7946 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.01012, allocations: 27.97 kB / 0.7946 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01012, allocations: 3.938 kB / 0.7946 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.01018, allocations: 11.94 kB / 0.7946 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.01019, allocations: 8.844 kB / 0.7946 GB, free: 5.488 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.643e-05/0.01029, allocations: 165.4 kB / 0.7948 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.01031, allocations: 19.84 kB / 0.7948 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.01034, allocations: 10.06 kB / 0.7948 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01034, allocations: 4 kB / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01034, allocations: 0 / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01034, allocations: 0.8438 kB / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.0107, allocations: 386.2 kB / 0.7952 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.0107, allocations: 2.812 kB / 0.7952 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.01075, allocations: 11.94 kB / 0.7952 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01075, allocations: 0 / 0.7952 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01076, allocations: 7.984 kB / 0.7952 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01076, allocations: 0 / 0.7952 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01077, allocations: 0 / 0.7952 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.01097, allocations: 287.6 kB / 0.7955 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.01099, allocations: 10.23 kB / 0.7955 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.01101, allocations: 7.984 kB / 0.7955 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.01109, allocations: 16.08 kB / 0.7955 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.01112, allocations: 7.969 kB / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.01113, allocations: 4 kB / 0.7955 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.01119, allocations: 153.8 kB / 0.7957 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01119, allocations: 0 / 0.7957 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002319/0.01142, allocations: 53 kB / 0.7957 GB, free: 4.316 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0003028/0.01172, allocations: 175.4 kB / 0.7959 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01186, allocations: 60.06 kB / 0.7959 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01186, allocations: 1.688 kB / 0.7959 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/0.01192, allocations: 35.75 kB / 0.796 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.01212, allocations: 24.11 kB / 0.796 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.01271, allocations: 243.9 kB / 0.7962 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.01275, allocations: 64.31 kB / 0.7963 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.01279, allocations: 9.375 kB / 0.7963 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.01285, allocations: 82.58 kB / 0.7964 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.01285, allocations: 0 / 0.7964 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of Templates: time 0.0042/0.01705, allocations: 2.364 MB / 0.7987 GB, free: 1.246 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.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: 5.01241145003587]