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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 188.1 kB / 22.22 MB, free: 5.23 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.935/2.935, allocations: 0.4893 GB / 0.7884 GB, free: 33.28 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001888/0.001888, allocations: 72.05 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3106, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002692/0.3133, allocations: 1.233 MB / 1.317 GB, free: 8.477 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0009781/0.3143, allocations: 447 kB / 1.318 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.3143, allocations: 0 / 1.318 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 8.97e-05/0.3144, allocations: 3.938 kB / 1.318 GB, free: 8.035 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 2.54e-05/0.3144, allocations: 7.984 kB / 1.318 GB, free: 8.027 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.315, allocations: 111.6 kB / 1.318 GB, free: 7.918 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.3151, allocations: 19.92 kB / 1.318 GB, free: 7.898 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.3152, allocations: 8 kB / 1.318 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.3152, allocations: 15.92 kB / 1.318 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.3152, allocations: 15.88 kB / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3153, allocations: 0 / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.3156, allocations: 139.7 kB / 1.318 GB, free: 7.723 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.3156, allocations: 23.92 kB / 1.318 GB, free: 7.699 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.3157, allocations: 35.69 kB / 1.318 GB, free: 7.664 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3159, allocations: 123.5 kB / 1.318 GB, free: 7.543 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3159, allocations: 0 / 1.318 GB, free: 7.543 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.382e-06/0.3159, allocations: 0 / 1.318 GB, free: 7.543 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.099e-06/0.3159, allocations: 0 / 1.318 GB, free: 7.543 MB / 1.014 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.000559/0.3165, allocations: 384.3 kB / 1.318 GB, free: 7.125 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3165, allocations: 8.031 kB / 1.318 GB, free: 7.117 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3166, allocations: 12.84 kB / 1.318 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3168, allocations: 118.4 kB / 1.319 GB, free: 6.965 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3168, allocations: 8.375 kB / 1.319 GB, free: 6.957 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3168, allocations: 384 / 1.319 GB, free: 6.957 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.317, allocations: 146.1 kB / 1.319 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.317, allocations: 192 / 1.319 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.317, allocations: 3.938 kB / 1.319 GB, free: 6.805 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.317, allocations: 4 kB / 1.319 GB, free: 6.801 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.3171, allocations: 59.97 kB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.3173, allocations: 164.5 kB / 1.319 GB, free: 6.539 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3174, allocations: 74.56 kB / 1.319 GB, free: 6.457 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.3175, allocations: 68.88 kB / 1.319 GB, free: 6.387 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3175, allocations: 7.938 kB / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3178, allocations: 179.1 kB / 1.319 GB, free: 6.191 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=37): time 1.293e-06/0.3178, allocations: 0 / 1.319 GB, free: 6.191 MB / 1.014 GB
Notification: Performance of matching and sorting (n=37): time 0.0006477/0.3184, allocations: 494.7 kB / 1.32 GB, free: 5.707 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.3185, allocations: 91.36 kB / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.3186, allocations: 121.7 kB / 1.32 GB, free: 5.477 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.3186, allocations: 49.69 kB / 1.32 GB, free: 5.422 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.3187, allocations: 88.73 kB / 1.32 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 9.433e-05/0.3188, allocations: 99.3 kB / 1.32 GB, free: 5.23 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3189, allocations: 93.67 kB / 1.32 GB, free: 5.133 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001422/0.319, allocations: 338.8 kB / 1.321 GB, free: 4.793 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.3192, allocations: 136.6 kB / 1.321 GB, free: 4.66 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3194, allocations: 209.3 kB / 1.321 GB, free: 4.438 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.3198, allocations: 405.3 kB / 1.321 GB, free: 4.02 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3198, allocations: 0 / 1.321 GB, free: 4.02 MB / 1.014 GB
Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005368/0.3204, allocations: 438.5 kB / 1.322 GB, free: 3.586 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3204, allocations: 11.94 kB / 1.322 GB, free: 3.574 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3204, allocations: 8.094 kB / 1.322 GB, free: 3.566 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3204, allocations: 4 kB / 1.322 GB, free: 3.562 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3205, allocations: 19.88 kB / 1.322 GB, free: 3.543 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3205, allocations: 11.92 kB / 1.322 GB, free: 3.531 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.3206, allocations: 35.67 kB / 1.322 GB, free: 3.496 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3206, allocations: 12 kB / 1.322 GB, free: 3.484 MB / 1.014 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.0002221/0.3208, allocations: 178.4 kB / 1.322 GB, free: 3.305 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.3209, allocations: 15.84 kB / 1.322 GB, free: 3.289 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.3209, allocations: 9.312 kB / 1.322 GB, free: 3.277 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3209, allocations: 0 / 1.322 GB, free: 3.277 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3209, allocations: 0 / 1.322 GB, free: 3.277 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3209, allocations: 0 / 1.322 GB, free: 3.277 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3211, allocations: 156.6 kB / 1.322 GB, free: 3.082 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3211, allocations: 0 / 1.322 GB, free: 3.082 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.3211, allocations: 8 kB / 1.322 GB, free: 3.074 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3211, allocations: 3.938 kB / 1.322 GB, free: 3.07 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.3211, allocations: 0 / 1.322 GB, free: 3.07 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3211, allocations: 0 / 1.322 GB, free: 3.07 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3211, allocations: 0 / 1.322 GB, free: 3.07 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.3217, allocations: 410.4 kB / 1.323 GB, free: 2.648 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.3217, allocations: 15.84 kB / 1.323 GB, free: 2.633 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.3218, allocations: 28.17 kB / 1.323 GB, free: 2.605 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.3218, allocations: 4 kB / 1.323 GB, free: 2.602 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3218, allocations: 11.98 kB / 1.323 GB, free: 2.59 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3218, allocations: 0 / 1.323 GB, free: 2.59 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.578e-05/0.3219, allocations: 83.28 kB / 1.323 GB, free: 2.508 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3219, allocations: 0 / 1.323 GB, free: 2.508 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003455/0.3223, allocations: 55.86 kB / 1.323 GB, free: 2.453 MB / 1.014 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.0005207/0.3228, allocations: 210.5 kB / 1.323 GB, free: 2.25 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004436/0.3232, allocations: 273.8 kB / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3232, allocations: 0 / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.3233, allocations: 67.98 kB / 1.323 GB, free: 1.918 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.3235, allocations: 8 kB / 1.323 GB, free: 1.91 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.324, allocations: 287.3 kB / 1.324 GB, free: 1.605 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3243, allocations: 0.7124 MB / 1.324 GB, free: 0.8672 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.701e-05/0.3244, allocations: 16.64 kB / 1.324 GB, free: 0.8516 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.3244, allocations: 11.44 kB / 1.324 GB, free: 0.8398 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.3244, allocations: 3.938 kB / 1.324 GB, free: 0.8359 MB / 1.014 GB
Notification: Performance of Templates: time 0.005474/0.3299, allocations: 1.757 MB / 1.326 GB, free: 15.08 MB / 1.029 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: 8.139658838510513]