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.001887/0.001887, allocations: 85.48 kB / 19.44 MB, free: 344 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.002166/0.002166, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 3.402/3.402, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] 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.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 2.325e-06/2.325e-06, allocations: 0 / 0.8774 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.624e-05, allocations: 2.312 kB / 0.8774 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00362/0.003656, allocations: 1.246 MB / 0.8786 GB, free: 4.301 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.00523, allocations: 461.3 kB / 0.8791 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.005266, allocations: 0.5469 kB / 0.8791 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.005374, allocations: 0 / 0.8791 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.5e-05/0.005409, allocations: 6.438 kB / 0.8791 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.00619, allocations: 125.1 kB / 0.8792 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.006306, allocations: 32.72 kB / 0.8792 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.006354, allocations: 0 / 0.8792 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.006416, allocations: 15.98 kB / 0.8792 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.006468, allocations: 13.03 kB / 0.8793 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.006497, allocations: 0 / 0.8793 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.006841, allocations: 147.6 kB / 0.8794 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.006893, allocations: 25 kB / 0.8794 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.006932, allocations: 19.92 kB / 0.8794 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.007208, allocations: 143.5 kB / 0.8796 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007212, allocations: 1.156 kB / 0.8796 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.643e-06/0.007213, allocations: 4 kB / 0.8796 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.007218, allocations: 0 / 0.8796 GB, free: 3.34 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006654/0.007884, allocations: 488.9 kB / 0.8801 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.007917, allocations: 8.031 kB / 0.8801 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.008016, allocations: 16.84 kB / 0.8801 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.008153, allocations: 124.4 kB / 0.8802 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.00817, allocations: 384 / 0.8802 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.008184, allocations: 8.375 kB / 0.8802 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.008345, allocations: 76.95 kB / 0.8803 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.008354, allocations: 192 / 0.8803 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.008362, allocations: 2.031 kB / 0.8803 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.008366, allocations: 384 / 0.8803 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.008437, allocations: 35.88 kB / 0.8803 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.008631, allocations: 136.2 kB / 0.8804 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.008741, allocations: 55.56 kB / 0.8805 GB, free: 2.289 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.008806, allocations: 41.41 kB / 0.8805 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.008817, allocations: 0 / 0.8805 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.009001, allocations: 115.6 kB / 0.8806 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=38): time 2.274e-06/0.009003, allocations: 0.5 kB / 0.8806 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of matching and sorting (n=38): time 0.0005809/0.009584, allocations: 325 kB / 0.881 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.009666, allocations: 88.66 kB / 0.881 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.009844, allocations: 197.8 kB / 0.8812 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.009895, allocations: 45.69 kB / 0.8813 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.009986, allocations: 137.1 kB / 0.8814 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.01011, allocations: 107.3 kB / 0.8815 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.01026, allocations: 107.3 kB / 0.8816 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003163/0.01058, allocations: 0.5196 MB / 0.8821 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.01069, allocations: 56.64 kB / 0.8822 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.01092, allocations: 167.8 kB / 0.8823 GB, free: 308 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.0113, allocations: 266 kB / 0.8826 GB, free: 12 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0113, allocations: 320 / 0.8826 GB, free: 12 kB / 0.7917 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005067/0.01181, allocations: 326.5 kB / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01182, allocations: 4 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01183, allocations: 0 / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.01185, allocations: 8 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.01211, allocations: 76.03 kB / 0.883 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.01212, allocations: 11.94 kB / 0.883 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.0122, allocations: 31.69 kB / 0.883 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.01222, allocations: 16 kB / 0.883 GB, free: 15.54 MB / 0.8073 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.000214/0.01244, allocations: 216.4 kB / 0.8832 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.01246, allocations: 15.91 kB / 0.8833 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.01248, allocations: 5.625 kB / 0.8833 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01249, allocations: 0 / 0.8833 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01249, allocations: 3.984 kB / 0.8833 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.0125, allocations: 11.92 kB / 0.8833 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.01265, allocations: 128.3 kB / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01265, allocations: 0 / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.01268, allocations: 11.92 kB / 0.8834 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01268, allocations: 0 / 0.8834 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.01269, allocations: 0 / 0.8834 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01269, allocations: 0 / 0.8834 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.0127, allocations: 4 kB / 0.8834 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.01312, allocations: 292 kB / 0.8837 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.01314, allocations: 19.83 kB / 0.8837 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.01318, allocations: 20 kB / 0.8837 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.766e-05/0.01321, allocations: 7.984 kB / 0.8837 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.01323, allocations: 0 / 0.8837 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01324, allocations: 4 kB / 0.8837 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.01332, allocations: 131.1 kB / 0.8839 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01332, allocations: 0 / 0.8839 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000306/0.01363, allocations: 59.86 kB / 0.8839 GB, free: 14.56 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 (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.0005799/0.01421, allocations: 233.3 kB / 0.8841 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.01454, allocations: 182 kB / 0.8843 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01454, allocations: 384 / 0.8843 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.01463, allocations: 68.59 kB / 0.8844 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.01478, allocations: 7.938 kB / 0.8844 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.01524, allocations: 253.3 kB / 0.8846 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.01534, allocations: 93.81 kB / 0.8847 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.01538, allocations: 13.14 kB / 0.8847 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.01541, allocations: 24.48 kB / 0.8848 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.01541, allocations: 0 / 0.8848 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.005744/0.02115, allocations: 1.771 MB / 0.8865 GB, free: 11.91 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] 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: 8.530242641922086]