Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.007291/0.007291, allocations: 97.77 kB / 15.73 MB, free: 6.07 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.001494/0.001494, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002191/1.03, allocations: 1.221 MB / 1.222 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009311/1.031, allocations: 438.5 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/1.031, allocations: 3.938 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/1.031, allocations: 0 / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.893e-05/1.031, allocations: 7.922 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/1.032, allocations: 111.6 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/1.032, allocations: 23.86 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/1.032, allocations: 15.97 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/1.032, allocations: 11.94 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/1.032, allocations: 11.92 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/1.032, allocations: 0 / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/1.032, allocations: 107.9 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/1.032, allocations: 0 / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/1.032, allocations: 11.94 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/1.032, allocations: 100.2 kB / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.032, allocations: 0 / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.535e-06/1.032, allocations: 0 / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.032, allocations: 4 kB / 1.223 GB, free: 52 kB / 0.9356 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.00057/1.033, allocations: 400.9 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.033, allocations: 8.031 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/1.033, allocations: 4.938 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/1.033, allocations: 168.3 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.033, allocations: 384 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/1.033, allocations: 4.375 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/1.033, allocations: 46.23 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/1.033, allocations: 4.188 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/1.033, allocations: 3.938 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.033, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/1.033, allocations: 11.94 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/1.033, allocations: 157.7 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/1.033, allocations: 30.59 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/1.034, allocations: 12.86 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/1.034, allocations: 0 / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/1.034, allocations: 67.44 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/1.034, allocations: 0 / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0002354/1.034, allocations: 77.56 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.034, allocations: 55.39 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/1.034, allocations: 101.9 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/1.034, allocations: 25.7 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/1.034, allocations: 92.12 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/1.034, allocations: 11.91 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/1.034, allocations: 21.72 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.034, allocations: 318.8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/1.034, allocations: 4 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/1.034, allocations: 40.28 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/1.034, allocations: 64.17 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.034, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001036/1.034, allocations: 73.56 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.035, allocations: 11.92 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.035, allocations: 4.125 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.035, allocations: 7.938 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.035, allocations: 11.94 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.035, allocations: 4.141 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/1.035, allocations: 12.39 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/1.035, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 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 7.994e-05/1.035, allocations: 114.4 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/1.035, allocations: 11.92 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/1.035, allocations: 3.562 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.035, allocations: 4 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.035, allocations: 4 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.035, allocations: 0 / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/1.035, allocations: 153.7 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.035, allocations: 4 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/1.035, allocations: 3.938 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/1.035, allocations: 7.938 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.035, allocations: 7.984 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.035, allocations: 0 / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.035, allocations: 0 / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/1.035, allocations: 89.08 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/1.035, allocations: 81.11 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/1.035, allocations: 7.922 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/1.035, allocations: 4 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/1.035, allocations: 0 / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/1.035, allocations: 4 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.561e-05/1.035, allocations: 83.27 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/1.035, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002659/1.036, allocations: 39.88 kB / 1.225 GB, free: 13.26 MB / 0.9512 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.0003321/1.036, allocations: 170.9 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000119/1.036, allocations: 27.98 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.036, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/1.036, allocations: 28.17 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/1.036, allocations: 6.031 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/1.037, allocations: 120.8 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/1.037, allocations: 0.6807 MB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.075e-05/1.037, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/1.037, allocations: 15.42 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/1.037, allocations: 0 / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of Templates: time 0.003649/1.041, allocations: 1.094 MB / 1.227 GB, free: 11.07 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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