Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.001001/0.001001, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001029/0.001029, allocations: 170 kB / 23.27 MB, free: 1.223 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.9459/0.9459, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.318/2.318, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.358e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001406/0.00142, allocations: 1.277 MB / 0.891 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005504/0.00197, allocations: 414.6 kB / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.001998, allocations: 0 / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.058e-05/0.002068, allocations: 7.875 kB / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 1.977e-05/0.002088, allocations: 0 / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.002485, allocations: 111.5 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.002546, allocations: 19.92 kB / 0.8915 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.876e-05/0.002575, allocations: 3.984 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.00261, allocations: 23.97 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.064e-05/0.002631, allocations: 7.938 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.002642, allocations: 0 / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.002824, allocations: 139.7 kB / 0.8916 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.002858, allocations: 19.94 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.002879, allocations: 15.91 kB / 0.8917 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.003028, allocations: 135.5 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.00303, allocations: 0 / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00303, allocations: 0 / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.003033, allocations: 0 / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0003274/0.00336, allocations: 478.6 kB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.003393, allocations: 12.62 kB / 0.8923 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.003464, allocations: 28.83 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.52e-05/0.003529, allocations: 116.5 kB / 0.8924 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.00354, allocations: 384 / 0.8924 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.003547, allocations: 4.375 kB / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.788e-05/0.003625, allocations: 77.84 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.00363, allocations: 192 / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.003636, allocations: 384 / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.00364, allocations: 384 / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.003661, allocations: 32.45 kB / 0.8925 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.377e-05/0.003745, allocations: 113.1 kB / 0.8926 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.00379, allocations: 59.03 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.003812, allocations: 27.69 kB / 0.8927 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.003818, allocations: 4 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.724e-05/0.003905, allocations: 103.1 kB / 0.8928 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 6.41e-07/0.003906, allocations: 3.938 kB / 0.8928 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0002706/0.004176, allocations: 300.5 kB / 0.8931 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.004215, allocations: 87.31 kB / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.004294, allocations: 181.8 kB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.00432, allocations: 53.69 kB / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.004357, allocations: 131.5 kB / 0.8935 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.004417, allocations: 107.2 kB / 0.8936 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.004489, allocations: 107.3 kB / 0.8937 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.004599, allocations: 0.5195 MB / 0.8943 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.004637, allocations: 44.62 kB / 0.8943 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.004719, allocations: 138.2 kB / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.004866, allocations: 226.3 kB / 0.8946 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004868, allocations: 0 / 0.8946 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002191/0.005087, allocations: 294.5 kB / 0.8949 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.005097, allocations: 4 kB / 0.8949 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.005103, allocations: 4 kB / 0.8949 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.005111, allocations: 0 / 0.8949 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.005247, allocations: 67.91 kB / 0.895 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.005252, allocations: 7.984 kB / 0.895 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.00529, allocations: 43.77 kB / 0.8951 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.005301, allocations: 12 kB / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 1 * 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.000102/0.005402, allocations: 204.5 kB / 0.8953 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.005414, allocations: 15.89 kB / 0.8953 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.005433, allocations: 17.25 kB / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005434, allocations: 0 / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.005436, allocations: 0 / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005439, allocations: 0 / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.309e-05/0.005512, allocations: 113.3 kB / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005513, allocations: 0 / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-06/0.005522, allocations: 11.98 kB / 0.8954 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.005523, allocations: 0 / 0.8954 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.005528, allocations: 0 / 0.8954 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.005528, allocations: 0 / 0.8954 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005529, allocations: 0 / 0.8954 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.005737, allocations: 278.9 kB / 0.8957 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.005749, allocations: 23.83 kB / 0.8957 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.005769, allocations: 16 kB / 0.8957 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.005778, allocations: 3.984 kB / 0.8957 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.005792, allocations: 0 / 0.8957 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.005795, allocations: 4 kB / 0.8957 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.005825, allocations: 127.1 kB / 0.8958 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005825, allocations: 0 / 0.8958 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001921/0.006017, allocations: 59.84 kB / 0.8959 GB, free: 3.105 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002818/0.006299, allocations: 218 kB / 0.8961 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.006454, allocations: 159.2 kB / 0.8963 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.006457, allocations: 4 kB / 0.8963 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/0.006493, allocations: 59.45 kB / 0.8963 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.715e-05/0.00659, allocations: 11.94 kB / 0.8963 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.006852, allocations: 233.3 kB / 0.8966 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.28e-05/0.006884, allocations: 75.83 kB / 0.8966 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.006906, allocations: 12.64 kB / 0.8966 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.006942, allocations: 78.2 kB / 0.8967 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of SimCode: time 3.71e-07/0.006942, allocations: 0 / 0.8967 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of Templates: time 0.002958/0.009901, allocations: 1.828 MB / 0.8985 GB, free: 416 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.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.127855030819774]