Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001287/0.001287, allocations: 103.5 kB / 16.41 MB, free: 6.5 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.001239/0.001239, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7632, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002142/0.7654, allocations: 1.23 MB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.7662, allocations: 447.1 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.7662, allocations: 0 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.7662, allocations: 3.938 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.7663, allocations: 5.641 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.7668, allocations: 113 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.7669, allocations: 22.02 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.767, allocations: 6.969 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.767, allocations: 10.78 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.182e-05/0.767, allocations: 10.12 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.7671, allocations: 1.125 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.7673, allocations: 113.6 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.7673, allocations: 7.172 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.7674, allocations: 12.66 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.7676, allocations: 101.2 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7676, allocations: 0 / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7676, allocations: 1.062 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.7676, allocations: 0 / 1.091 GB, free: 4.211 MB / 0.8575 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.0004275/0.768, allocations: 391.3 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7681, allocations: 9.094 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.7681, allocations: 4.047 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.551e-05/0.7682, allocations: 166.6 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.7682, allocations: 2.547 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.7682, allocations: 2.375 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.7684, allocations: 47.41 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.7684, allocations: 192 / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.7684, allocations: 7.938 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.7684, allocations: 1.875 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.7684, allocations: 5.109 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.7686, allocations: 160.3 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.7686, allocations: 25.84 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.7687, allocations: 20.31 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.7687, allocations: 1.891 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.7688, allocations: 63.36 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.7688, allocations: 0 / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002021/0.7691, allocations: 77.97 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.7691, allocations: 53.45 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.7692, allocations: 106 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.7692, allocations: 34.89 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.7692, allocations: 82.53 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.7692, allocations: 16.31 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.7693, allocations: 25.22 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.7693, allocations: 313.7 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.7693, allocations: 10.14 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.7694, allocations: 42.94 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/0.7694, allocations: 60.69 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7695, allocations: 0.75 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001094/0.7696, allocations: 74.78 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7696, allocations: 9.344 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.7696, allocations: 0.875 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7696, allocations: 6.797 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.871e-05/0.7697, allocations: 9.719 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7697, allocations: 1.438 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.7698, allocations: 2.406 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.7698, allocations: 2.984 kB / 1.092 GB, free: 2.41 MB / 0.8575 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 5.641e-05/0.7698, allocations: 121.8 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.7698, allocations: 10.38 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.7699, allocations: 8.859 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.7699, allocations: 4.781 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7699, allocations: 1.734 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7699, allocations: 4 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.94e-05/0.77, allocations: 152.3 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.77, allocations: 0 / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.77, allocations: 8.047 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.77, allocations: 4.75 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.77, allocations: 1.609 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.77, allocations: 1.641 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.77, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.7702, allocations: 92.75 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.7702, allocations: 82.66 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.7702, allocations: 9.422 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.251e-05/0.7702, allocations: 1.453 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.7703, allocations: 1.875 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.7703, allocations: 3.312 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.304e-05/0.7703, allocations: 84.88 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7703, allocations: 0 / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002649/0.7706, allocations: 38.14 kB / 1.093 GB, free: 1.793 MB / 0.8575 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.0003294/0.7709, allocations: 156.3 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.7711, allocations: 32.58 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7711, allocations: 1.031 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.7711, allocations: 15.28 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.7713, allocations: 7.875 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.7715, allocations: 146.1 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.7716, allocations: 0.6787 MB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.7716, allocations: 14.84 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.7716, allocations: 0 / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of Templates: time 0.003324/0.775, allocations: 1.276 MB / 1.095 GB, free: 0.6836 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches