Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.000816/0.000816, allocations: 76.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.0007824/0.0007824, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8817/0.8817, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.775/1.775, allocations: 389 MB / 0.6338 GB, free: 12.7 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.565e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001716/0.001752, allocations: 1.251 MB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.002423, allocations: 451.1 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.00245, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.898e-05/0.002529, allocations: 3.938 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.103e-05/0.00255, allocations: 7.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.002979, allocations: 123.4 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.00305, allocations: 23.91 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.003087, allocations: 7.984 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.003122, allocations: 15.98 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.65e-05/0.003148, allocations: 7.938 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.003164, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.003348, allocations: 143.7 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.00339, allocations: 27.91 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.003416, allocations: 15.92 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.003596, allocations: 151.5 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003598, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003599, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003602, allocations: 0 / 1.003 GB, free: 10.82 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004048/0.004007, allocations: 372.3 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004041, allocations: 8.75 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.004113, allocations: 24.83 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.962e-05/0.004192, allocations: 117.6 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.004208, allocations: 384 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.004218, allocations: 4.375 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.004351, allocations: 146.2 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.004359, allocations: 4.188 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.004366, allocations: 384 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004371, allocations: 4.375 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.004421, allocations: 67.86 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.004542, allocations: 133.1 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.453e-05/0.004617, allocations: 78.55 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.004665, allocations: 76.83 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.004674, allocations: 3.984 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.004825, allocations: 179.9 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=38): time 8.62e-07/0.004825, allocations: 0 / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38): time 0.0003684/0.005194, allocations: 420.6 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.00524, allocations: 87.38 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.005305, allocations: 125.7 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.005333, allocations: 53.69 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.005365, allocations: 80.8 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.005427, allocations: 107.2 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.005491, allocations: 85.67 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.005575, allocations: 338.8 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.005689, allocations: 148.8 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.005836, allocations: 225.8 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.006121, allocations: 410.1 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.006127, allocations: 8 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003446/0.006471, allocations: 450.5 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.006483, allocations: 4 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.006491, allocations: 0 / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.006505, allocations: 4 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.006588, allocations: 23.92 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.006597, allocations: 7.938 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.006637, allocations: 39.66 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.006648, allocations: 8 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 41 * 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.0001089/0.006757, allocations: 181.8 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.006766, allocations: 11.91 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.006791, allocations: 9.625 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006793, allocations: 0 / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.006797, allocations: 4 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.006801, allocations: 3.938 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.342e-05/0.006874, allocations: 121.2 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006875, allocations: 4 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.006886, allocations: 4 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.006888, allocations: 0 / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.006895, allocations: 7.922 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.006896, allocations: 3.984 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006897, allocations: 3.938 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.007142, allocations: 346 kB / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.007158, allocations: 31.75 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.007177, allocations: 20 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.00719, allocations: 3.984 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.007206, allocations: 4 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.00721, allocations: 4 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.868e-05/0.007239, allocations: 91.2 kB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007239, allocations: 0 / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001813/0.00742, allocations: 51.94 kB / 1.008 GB, free: 5.871 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 (5): * Single equations (assignments): 3 * 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.0002935/0.007714, allocations: 239.5 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.00796, allocations: 272.7 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007962, allocations: 0 / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.008011, allocations: 79.91 kB / 1.008 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.008119, allocations: 4 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.008428, allocations: 329.6 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.697e-05/0.008485, allocations: 97.81 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.008506, allocations: 16.5 kB / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of SimCode: time 4.1e-07/0.008507, allocations: 0 / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of Templates: time 0.002676/0.01118, allocations: 2.306 MB / 1.011 GB, free: 2.508 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.863532559014857]