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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001375/0.001375, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.89 kB / 0.8692 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.589/0.5904, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002214/0.5927, allocations: 1.284 MB / 1.019 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.5936, allocations: 470.5 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.5936, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.5936, allocations: 3.938 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.5937, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.5941, allocations: 87.8 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.5942, allocations: 23.91 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.5942, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.5942, allocations: 11.92 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.697e-05/0.5943, allocations: 11.94 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.5943, allocations: 4 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.5945, allocations: 99.89 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.5945, allocations: 7.984 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.5946, allocations: 11.92 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.5947, allocations: 75.89 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5947, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.72e-07/0.5947, allocations: 3.938 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5947, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 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.0004341/0.5952, allocations: 383.1 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5952, allocations: 16.03 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.5953, allocations: 4.844 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.5954, allocations: 168.3 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.5954, allocations: 4.375 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.5954, allocations: 8.359 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.967e-05/0.5955, allocations: 38.23 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5955, allocations: 192 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.5956, allocations: 12.14 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5956, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.5956, allocations: 4 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.5958, allocations: 165.6 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.5958, allocations: 26.58 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.5959, allocations: 16.94 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.5959, allocations: 3.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.596, allocations: 59.41 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.5961, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002114/0.5963, allocations: 85.45 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.5963, allocations: 51.41 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.5964, allocations: 105.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.5964, allocations: 25.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.5965, allocations: 80.14 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.5965, allocations: 19.8 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.5965, allocations: 21.7 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5967, allocations: 322.8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.5967, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.5967, allocations: 40.28 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.5968, allocations: 60.17 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5968, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.5969, allocations: 77.55 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.597, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.597, allocations: 3.938 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.597, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.5971, allocations: 11.94 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5971, allocations: 128 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.5971, allocations: 12 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5971, allocations: 3.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 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 8.047e-05/0.5972, allocations: 118.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.5972, allocations: 7.906 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.5972, allocations: 7.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.5973, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5973, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5973, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.5974, allocations: 157.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5974, allocations: 7.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.5974, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5974, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5974, allocations: 4.438 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5974, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5975, allocations: 3.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.5976, allocations: 97.14 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.5976, allocations: 85.02 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.5977, allocations: 7.938 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.5977, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.5977, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.5977, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.5978, allocations: 91.2 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5978, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000246/0.598, allocations: 32 kB / 1.022 GB, free: 13.93 MB / 0.7794 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.0003019/0.5983, allocations: 164 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.5984, allocations: 35.92 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5985, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.5985, allocations: 19.94 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.5986, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.5989, allocations: 152.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.5991, allocations: 0.677 MB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.5991, allocations: 11.44 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5991, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.002709/0.6018, allocations: 1.281 MB / 1.024 GB, free: 11.54 MB / 0.7794 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