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.0009976/0.0009976, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001695/0.001695, allocations: 173 kB / 23.03 MB, free: 1.543 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.8985/0.8985, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.054/2.054, allocations: 429.5 MB / 0.6733 GB, free: 4.055 MB / 0.6355 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.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 2.695e-06/2.695e-06, allocations: 0 / 0.8781 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.782e-05/4.052e-05, allocations: 5.828 kB / 0.8781 GB, free: 5.23 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002245/0.002286, allocations: 1.273 MB / 0.8794 GB, free: 3.965 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009579/0.003244, allocations: 0.4901 MB / 0.8799 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.003297, allocations: 0.9375 kB / 0.8799 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.003419, allocations: 0 / 0.8799 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.003451, allocations: 7.875 kB / 0.8799 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/0.004233, allocations: 120.6 kB / 0.88 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.707e-05/0.00433, allocations: 27.91 kB / 0.88 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.004375, allocations: 3.438 kB / 0.88 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.004426, allocations: 19.92 kB / 0.88 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.004462, allocations: 7.984 kB / 0.88 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.004481, allocations: 0 / 0.88 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.004788, allocations: 151.6 kB / 0.8802 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.004843, allocations: 27.92 kB / 0.8802 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.00488, allocations: 15.88 kB / 0.8802 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.005154, allocations: 147.5 kB / 0.8804 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005157, allocations: 0 / 0.8804 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.153e-06/0.005159, allocations: 0.5625 kB / 0.8804 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.005165, allocations: 0.5938 kB / 0.8804 GB, free: 2.961 MB / 0.7917 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.0005743/0.005739, allocations: 486.6 kB / 0.8808 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.00579, allocations: 12.95 kB / 0.8808 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.00591, allocations: 16.84 kB / 0.8809 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.006046, allocations: 125.1 kB / 0.881 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.006069, allocations: 384 / 0.881 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.006082, allocations: 5.25 kB / 0.881 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.006235, allocations: 101.6 kB / 0.8811 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.006245, allocations: 1.719 kB / 0.8811 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.006259, allocations: 8.359 kB / 0.8811 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.006269, allocations: 384 / 0.8811 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.006302, allocations: 27.94 kB / 0.8811 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.00647, allocations: 132.5 kB / 0.8813 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.006548, allocations: 52.03 kB / 0.8813 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.006589, allocations: 40.47 kB / 0.8813 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.006599, allocations: 4 kB / 0.8813 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.006742, allocations: 115 kB / 0.8815 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.006744, allocations: 0 / 0.8815 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.0004601/0.007204, allocations: 310.6 kB / 0.8817 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.00728, allocations: 87.31 kB / 0.8818 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.007419, allocations: 197.8 kB / 0.882 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.007453, allocations: 45.69 kB / 0.8821 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.007513, allocations: 131.5 kB / 0.8822 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.007601, allocations: 107.3 kB / 0.8823 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.007698, allocations: 99.33 kB / 0.8824 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.007855, allocations: 0.5157 MB / 0.8829 GB, free: 184 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.007931, allocations: 60.62 kB / 0.8829 GB, free: 124 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.00807, allocations: 150.2 kB / 0.8831 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.008295, allocations: 242.4 kB / 0.8833 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.008298, allocations: 0 / 0.8833 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003308/0.008629, allocations: 330.7 kB / 0.8836 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.008653, allocations: 4 kB / 0.8836 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.008661, allocations: 0 / 0.8836 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.008681, allocations: 4 kB / 0.8836 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.008885, allocations: 67.91 kB / 0.8837 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.008898, allocations: 15.86 kB / 0.8837 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.00896, allocations: 39.61 kB / 0.8838 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.008977, allocations: 12 kB / 0.8838 GB, free: 15.21 MB / 0.8073 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.0001437/0.00912, allocations: 208.6 kB / 0.884 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.009139, allocations: 15.89 kB / 0.884 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.00918, allocations: 9.625 kB / 0.884 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.009183, allocations: 0 / 0.884 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.009188, allocations: 4 kB / 0.884 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.009193, allocations: 3.938 kB / 0.884 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.009313, allocations: 132.5 kB / 0.8841 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.009316, allocations: 4 kB / 0.8841 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.009336, allocations: 0 / 0.8841 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.009341, allocations: 0 / 0.8841 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.00935, allocations: 4 kB / 0.8841 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.009353, allocations: 0 / 0.8841 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.009355, allocations: 0 / 0.8841 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.009642, allocations: 297.7 kB / 0.8844 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.009661, allocations: 15.84 kB / 0.8844 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.009692, allocations: 19.98 kB / 0.8845 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/0.009711, allocations: 0 / 0.8845 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.009741, allocations: 4 kB / 0.8845 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.009749, allocations: 4 kB / 0.8845 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.009804, allocations: 135.1 kB / 0.8846 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009804, allocations: 4 kB / 0.8846 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000269/0.01007, allocations: 55.86 kB / 0.8847 GB, free: 14.25 MB / 0.8073 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.0004492/0.01052, allocations: 239.1 kB / 0.8849 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.0108, allocations: 181.8 kB / 0.8851 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.0108, allocations: 7.938 kB / 0.8851 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/0.01086, allocations: 51.67 kB / 0.8851 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.011, allocations: 4 kB / 0.8851 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.01138, allocations: 245.7 kB / 0.8853 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.01143, allocations: 75.83 kB / 0.8854 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.01147, allocations: 12.64 kB / 0.8854 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.01151, allocations: 16.5 kB / 0.8854 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.01151, allocations: 3.938 kB / 0.8855 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.004662/0.01617, allocations: 1.943 MB / 0.8873 GB, free: 11.46 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.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.429725695867091]