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.001848/0.001848, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002187/0.002187, allocations: 173.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.971/2.971, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] 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.542e-06/1.542e-06, allocations: 0 / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.667e-05, allocations: 2.281 kB / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002801/0.002828, allocations: 1.261 MB / 1.001 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004035, allocations: 462.3 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.004079, allocations: 0 / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.861e-05/0.004167, allocations: 3.938 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.715e-05/0.004195, allocations: 11.92 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.004909, allocations: 127.4 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.00505, allocations: 23.92 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.005099, allocations: 4 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.005153, allocations: 19.91 kB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.005192, allocations: 7.984 kB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.005208, allocations: 0 / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.005588, allocations: 151.6 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.005647, allocations: 23.92 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.005772, allocations: 15.86 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.006136, allocations: 151.6 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006139, allocations: 0 / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00614, allocations: 0 / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.006145, allocations: 0 / 1.002 GB, free: 5.078 MB / 0.9512 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.0007024/0.006848, allocations: 376.3 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.295e-05/0.006921, allocations: 12.02 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.007057, allocations: 16.78 kB / 1.003 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.007258, allocations: 117.6 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.007288, allocations: 8.375 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.007306, allocations: 384 / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.00755, allocations: 150.1 kB / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.00756, allocations: 4.125 kB / 1.003 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.007572, allocations: 8.312 kB / 1.003 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.00758, allocations: 4.359 kB / 1.003 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.00769, allocations: 63.92 kB / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.007903, allocations: 125.2 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.008085, allocations: 78.55 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.008173, allocations: 65.48 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.008186, allocations: 0 / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.008474, allocations: 187.3 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.008475, allocations: 0 / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.0006387/0.009114, allocations: 405.8 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.0092, allocations: 87.38 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.009337, allocations: 125.7 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.009401, allocations: 57.67 kB / 1.004 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.009464, allocations: 84.8 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.009578, allocations: 95.34 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.00972, allocations: 89.67 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.009904, allocations: 334.8 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.01011, allocations: 144.6 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.01038, allocations: 217 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.01095, allocations: 401.3 kB / 1.005 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.01096, allocations: 4 kB / 1.005 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000696/0.01166, allocations: 438.6 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.01168, allocations: 11.98 kB / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.01169, allocations: 4 kB / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.01172, allocations: 0 / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.01185, allocations: 19.94 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.01186, allocations: 7.938 kB / 1.006 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.01195, allocations: 31.67 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.01197, allocations: 12 kB / 1.006 GB, free: 1.152 MB / 0.9512 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.0002338/0.01221, allocations: 189.7 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.01223, allocations: 15.83 kB / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.01227, allocations: 13.62 kB / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01227, allocations: 0 / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.01228, allocations: 0 / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.01229, allocations: 3.938 kB / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.01252, allocations: 128.9 kB / 1.006 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01252, allocations: 0 / 1.006 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.01254, allocations: 8 kB / 1.006 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01255, allocations: 0 / 1.006 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.01255, allocations: 0 / 1.006 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01256, allocations: 0 / 1.006 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01256, allocations: 3.938 kB / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.01299, allocations: 332.2 kB / 1.007 GB, free: 420 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.01302, allocations: 15.84 kB / 1.007 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.01306, allocations: 23.98 kB / 1.007 GB, free: 380 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.01308, allocations: 0 / 1.007 GB, free: 380 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.01311, allocations: 7.938 kB / 1.007 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01312, allocations: 4 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.01318, allocations: 91.2 kB / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01318, allocations: 0 / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003296/0.01351, allocations: 59.86 kB / 1.007 GB, free: 216 kB / 0.9512 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.0005551/0.01406, allocations: 246.9 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.0145, allocations: 265 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0145, allocations: 0 / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.01467, allocations: 71.98 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.01483, allocations: 3.984 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.01534, allocations: 299.6 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.01553, allocations: 105.5 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.01558, allocations: 20.62 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.01561, allocations: 16.5 kB / 1.008 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.01561, allocations: 0 / 1.008 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of Templates: time 0.005841/0.02146, allocations: 1.774 MB / 1.009 GB, free: 13.41 MB / 0.9669 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: 8.233216978609562]