Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.001133/0.001133, 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.001018/0.001018, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8695/0.8695, allocations: 177.1 MB / 203.5 MB, free: 5.395 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.746/1.746, allocations: 389.1 MB / 0.6338 GB, free: 12.68 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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.082e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001451/0.001472, allocations: 1.231 MB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006277/0.0021, allocations: 451.1 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.002128, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.142e-05/0.002199, allocations: 3.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.864e-05/0.002218, allocations: 0 / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.002644, allocations: 119.4 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.002713, allocations: 27.91 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.002746, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.002779, allocations: 11.98 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.229e-05/0.002801, allocations: 4 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.002814, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.002998, allocations: 147.7 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.003038, allocations: 27.91 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.003062, allocations: 11.88 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.003239, allocations: 143.6 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003241, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003242, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.003245, allocations: 0 / 1.003 GB, free: 10.84 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.0003664/0.003611, allocations: 368.3 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.003643, allocations: 12.75 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.003712, allocations: 12.88 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.74e-05/0.003789, allocations: 121.6 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.003804, allocations: 4.375 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.003814, allocations: 4.375 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.003945, allocations: 151.5 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.003952, allocations: 4.125 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.003961, allocations: 4.375 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003965, allocations: 384 / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.685e-05/0.004012, allocations: 63.92 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.004123, allocations: 121.1 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.004194, allocations: 78.55 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.00424, allocations: 68.89 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.004249, allocations: 4 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.004397, allocations: 175.3 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 9.62e-07/0.004398, allocations: 0 / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0003612/0.004759, allocations: 404.3 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.004805, allocations: 91.12 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.00487, allocations: 137.7 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.004896, allocations: 49.69 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.004924, allocations: 80.8 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.004982, allocations: 99.36 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.005046, allocations: 97.61 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.005126, allocations: 334.8 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.005239, allocations: 144.5 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.00539, allocations: 217 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.005683, allocations: 397.3 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.005687, allocations: 4 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005838/0.006271, allocations: 442.5 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006282, allocations: 4 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.006288, allocations: 3.984 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.0063, allocations: 4 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.006368, allocations: 23.92 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.006374, allocations: 3.938 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.006413, allocations: 39.61 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.006427, allocations: 12 kB / 1.007 GB, free: 6.91 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.000108/0.006535, allocations: 181.9 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.006543, allocations: 7.906 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.006566, allocations: 9.312 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.006569, allocations: 4 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.006572, allocations: 0 / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.006576, allocations: 11.88 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.258e-05/0.006649, allocations: 121.1 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006649, allocations: 0 / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-06/0.006656, allocations: 0 / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006658, allocations: 4 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006664, allocations: 0 / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006665, allocations: 0 / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006666, allocations: 3.984 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.006905, allocations: 336.8 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.006918, allocations: 23.83 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.006937, allocations: 19.98 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.006948, allocations: 8 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.00697, allocations: 3.984 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.006975, allocations: 256 / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.977e-05/0.007005, allocations: 87.22 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007005, allocations: 0 / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001959/0.007201, allocations: 55.92 kB / 1.007 GB, free: 5.988 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.0003231/0.007524, allocations: 227.8 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.007781, allocations: 269.9 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007783, allocations: 0 / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/0.007835, allocations: 67.98 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.007951, allocations: 11.92 kB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.008299, allocations: 320.6 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.077e-05/0.00837, allocations: 105.2 kB / 1.008 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.008392, allocations: 12.5 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/0.008393, allocations: 0 / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of Templates: time 0.00286/0.01125, allocations: 2.247 MB / 1.011 GB, free: 2.711 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.785987516865134]