Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.0008219/0.0008219, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000947/0.000947, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8758/0.8758, allocations: 177.2 MB / 203.5 MB, free: 5.75 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 1.75/1.75, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.186e-05, allocations: 9.172 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001467/0.001489, allocations: 1.247 MB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.002138, allocations: 479 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.002165, allocations: 0 / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.013e-05/0.002235, allocations: 4 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.492e-05/0.00225, allocations: 7.938 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.002693, allocations: 123.4 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.059e-05/0.002764, allocations: 23.92 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.002799, allocations: 7.984 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.002837, allocations: 15.92 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.59e-05/0.002863, allocations: 11.98 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.002876, allocations: 0 / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.003081, allocations: 151.7 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.003121, allocations: 19.92 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.003146, allocations: 11.94 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.00333, allocations: 159.4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003332, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003334, allocations: 4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003337, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 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.0004057/0.003743, allocations: 380.3 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.003775, allocations: 12.75 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.003848, allocations: 12.84 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.003928, allocations: 117.6 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.003943, allocations: 384 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.003954, allocations: 8.359 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.004092, allocations: 147.6 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004099, allocations: 8.125 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.004107, allocations: 384 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004111, allocations: 384 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.00416, allocations: 67.91 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.004278, allocations: 121.2 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.004597, allocations: 82.5 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.004646, allocations: 72.88 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.004655, allocations: 0 / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.004813, allocations: 171.4 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 8.32e-07/0.004814, allocations: 0 / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0003676/0.005182, allocations: 412.2 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.00523, allocations: 91.11 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.0053, allocations: 137.7 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.005328, allocations: 49.69 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.00536, allocations: 84.8 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.005417, allocations: 95.34 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.005487, allocations: 93.61 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.005568, allocations: 338.8 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.005684, allocations: 140.6 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.005832, allocations: 217 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.006127, allocations: 405.2 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.006129, allocations: 0 / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003491/0.006479, allocations: 442.4 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.006492, allocations: 12.16 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.006499, allocations: 0 / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.006512, allocations: 4 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.006586, allocations: 15.92 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.006594, allocations: 7.938 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.006635, allocations: 35.73 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.006646, allocations: 8 kB / 1.007 GB, free: 6.859 MB / 0.9636 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.0001065/0.006752, allocations: 185.7 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.006762, allocations: 11.91 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.006787, allocations: 9.625 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006788, allocations: 0 / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.006792, allocations: 4 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006796, allocations: 3.938 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.469e-05/0.006871, allocations: 125.1 kB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006872, allocations: 0 / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-06/0.006881, allocations: 4 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006883, allocations: 7.984 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.006891, allocations: 7.984 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006892, allocations: 0 / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.006894, allocations: 3.984 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.007138, allocations: 324.9 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.007149, allocations: 19.84 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.007172, allocations: 23.98 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.007185, allocations: 0 / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.007203, allocations: 3.984 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.007208, allocations: 4 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.007236, allocations: 91.22 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007237, allocations: 0 / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002092/0.007446, allocations: 55.86 kB / 1.008 GB, free: 5.934 MB / 0.9636 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.0003015/0.007747, allocations: 241.7 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.007987, allocations: 261.9 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007989, allocations: 4 kB / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.00804, allocations: 75.91 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.00815, allocations: 10.23 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.008468, allocations: 321 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.056e-05/0.008529, allocations: 105.5 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.008552, allocations: 16.5 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of SimCode: time 3.9e-07/0.008552, allocations: 0 / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of Templates: time 0.002961/0.01151, allocations: 2.31 MB / 1.011 GB, free: 2.566 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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: 6.9313447289168835]