Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001113/0.001113, allocations: 104.2 kB / 16.27 MB, free: 5.98 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.001133/0.001133, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.5 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2616, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002368/0.264, allocations: 1.225 MB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.2649, allocations: 460 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.2649, allocations: 0 / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.265, allocations: 3.938 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.265, allocations: 0 / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.2656, allocations: 107.6 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.2656, allocations: 27.92 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.2657, allocations: 7.984 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.113e-05/0.2657, allocations: 7.984 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.2657, allocations: 15.92 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2658, allocations: 0 / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.266, allocations: 107.8 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.266, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.266, allocations: 19.92 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.2662, allocations: 91.81 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2662, allocations: 3.984 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2662, allocations: 0 / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2663, allocations: 4 kB / 1.02 GB, free: 8.598 MB / 0.795 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.0004631/0.2667, allocations: 393.3 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2668, allocations: 8.922 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.2668, allocations: 8.844 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2669, allocations: 164.3 kB / 1.02 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.2669, allocations: 4.375 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.267, allocations: 384 / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2671, allocations: 46.23 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2671, allocations: 4.188 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2671, allocations: 3.938 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2671, allocations: 0 / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.472e-05/0.2671, allocations: 4 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.2673, allocations: 161.7 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/0.2674, allocations: 26.55 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.2674, allocations: 16.86 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-06/0.2674, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.2676, allocations: 59.48 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.2676, allocations: 0 / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0002142/0.2678, allocations: 81.52 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2678, allocations: 59.34 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.2679, allocations: 97.86 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2679, allocations: 29.7 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.268, allocations: 96.06 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.268, allocations: 15.73 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.2681, allocations: 21.72 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.2682, allocations: 318.8 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.2682, allocations: 8 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.2682, allocations: 40.28 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.456e-05/0.2683, allocations: 52.23 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2683, allocations: 0 / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000108/0.2684, allocations: 81.55 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2684, allocations: 14.88 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2685, allocations: 4 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2685, allocations: 3.984 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.2686, allocations: 12.48 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2686, allocations: 4 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.2686, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-06/0.2686, allocations: 4 kB / 1.022 GB, free: 6.531 MB / 0.795 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.461e-05/0.2687, allocations: 121.8 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.2687, allocations: 11.83 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.2687, allocations: 7.562 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2688, allocations: 4 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2688, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2688, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.2689, allocations: 153.7 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2689, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.2689, allocations: 4 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2689, allocations: 3.938 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.2689, allocations: 3.984 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2689, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2689, allocations: 4 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.2691, allocations: 93.06 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.2691, allocations: 81.02 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.2692, allocations: 7.922 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.659e-05/0.2692, allocations: 8 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.2692, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.2692, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.2693, allocations: 83.27 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2693, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002555/0.2695, allocations: 40 kB / 1.022 GB, free: 5.82 MB / 0.795 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.0003099/0.2699, allocations: 168.2 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.27, allocations: 35.92 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.27, allocations: 256 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.2701, allocations: 23.98 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.2702, allocations: 6.75 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.2705, allocations: 134.8 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.2707, allocations: 0.6807 MB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.2707, allocations: 11.44 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.2707, allocations: 0 / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of Templates: time 0.002939/0.2737, allocations: 1.288 MB / 1.025 GB, free: 3.426 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches