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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009924/0.0009926, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01042/0.01042, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.003/3.003, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003582, allocations: 12.47 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3572, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001811/0.359, allocations: 0.9587 MB / 1.06 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3602, allocations: 450.6 kB / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.3603, allocations: 3.938 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.3603, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.3604, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.3611, allocations: 87.78 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.3611, allocations: 27.86 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.3612, allocations: 0 / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.3613, allocations: 11.98 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.3613, allocations: 15.92 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3613, allocations: 4 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.3616, allocations: 99.89 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.3616, allocations: 7.938 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.3617, allocations: 37.62 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.3619, allocations: 103.8 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.362, allocations: 0 / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.014e-06/0.362, allocations: 0 / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.362, allocations: 0 / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005754/0.3626, allocations: 389.4 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3626, allocations: 8.031 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.3627, allocations: 8.844 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3628, allocations: 160.4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3628, allocations: 4.375 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3629, allocations: 384 / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.363, allocations: 46.23 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.363, allocations: 4.125 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3631, allocations: 3.938 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3631, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.3631, allocations: 8 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.3634, allocations: 161.7 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.3634, allocations: 22.61 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.3635, allocations: 16.86 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3635, allocations: 3.984 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.3637, allocations: 63.42 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.704e-06/0.3637, allocations: 0 / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002708/0.364, allocations: 81.52 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.364, allocations: 55.41 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.3641, allocations: 101.8 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.3642, allocations: 29.7 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.3642, allocations: 92.11 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3643, allocations: 7.844 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.3643, allocations: 17.72 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3645, allocations: 318.8 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.3645, allocations: 12 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.3646, allocations: 44.22 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.816e-05/0.3647, allocations: 60.23 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3647, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001333/0.3648, allocations: 69.53 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.3649, allocations: 11.94 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3649, allocations: 3.938 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3649, allocations: 3.984 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.365, allocations: 11.94 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3651, allocations: 8.625 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.3651, allocations: 4 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.3651, allocations: 4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * 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.0001141/0.3652, allocations: 109.8 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.3653, allocations: 11.84 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.3653, allocations: 15.55 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3653, allocations: 0 / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3653, allocations: 0 / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3653, allocations: 3.938 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.3655, allocations: 157.7 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3655, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.3655, allocations: 4 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.3655, allocations: 3.938 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3656, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3656, allocations: 3.984 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3656, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3657, allocations: 85.12 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.3658, allocations: 85.02 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.3658, allocations: 11.92 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.263e-05/0.3658, allocations: 0 / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.3659, allocations: 0 / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-06/0.3659, allocations: 4 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.3659, allocations: 83.28 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.984e-06/0.366, allocations: 0 / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002952/0.3663, allocations: 39.92 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * 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.0004126/0.3667, allocations: 167.3 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3668, allocations: 39.86 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3668, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.3669, allocations: 15.98 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.367, allocations: 9.375 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.3673, allocations: 118.1 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3677, allocations: 0.677 MB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.3677, allocations: 4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.3677, allocations: 7.438 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3677, allocations: 4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.004179/0.3719, allocations: 1.082 MB / 1.065 GB, free: 14.75 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) 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) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y