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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009796/0.0009795, allocations: 97.78 kB / 16.02 MB, free: 76 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.001158/0.001158, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.9 MB / 0.667 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6398/0.6402, allocations: 142.4 MB / 0.9557 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001019/0.6412, allocations: 0.9505 MB / 0.9566 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007204/0.642, allocations: 447.9 kB / 0.9571 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.642, allocations: 0 / 0.9571 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.642, allocations: 1.219 kB / 0.9571 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/0.6421, allocations: 3.938 kB / 0.9571 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.6424, allocations: 93.42 kB / 0.9571 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.6425, allocations: 21.61 kB / 0.9572 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.6425, allocations: 1.438 kB / 0.9572 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.6426, allocations: 17.08 kB / 0.9572 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.512e-05/0.6426, allocations: 14.89 kB / 0.9572 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.6426, allocations: 1.406 kB / 0.9572 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.6428, allocations: 107.5 kB / 0.9573 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.6428, allocations: 1.25 kB / 0.9573 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.6429, allocations: 41.53 kB / 0.9573 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.643, allocations: 66.14 kB / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.643, allocations: 0 / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.643, allocations: 0 / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.643, allocations: 5.188 kB / 0.9574 GB, free: 6.348 MB / 0.7169 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.0003185/0.6433, allocations: 376.3 kB / 0.9578 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6434, allocations: 9.562 kB / 0.9578 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.6434, allocations: 7.188 kB / 0.9578 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.962e-05/0.6435, allocations: 173.2 kB / 0.958 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.6435, allocations: 6.344 kB / 0.958 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.6435, allocations: 6.922 kB / 0.958 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.165e-05/0.6436, allocations: 40.81 kB / 0.958 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.6436, allocations: 4.188 kB / 0.958 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.6437, allocations: 4.812 kB / 0.958 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6437, allocations: 1.188 kB / 0.958 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.6437, allocations: 4.438 kB / 0.958 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.6438, allocations: 157.7 kB / 0.9582 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.56e-05/0.6439, allocations: 28.89 kB / 0.9582 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.6439, allocations: 18.97 kB / 0.9582 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.6439, allocations: 5.188 kB / 0.9582 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.6441, allocations: 52.84 kB / 0.9583 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.6441, allocations: 0 / 0.9583 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001864/0.6443, allocations: 78.17 kB / 0.9583 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.6443, allocations: 57.72 kB / 0.9584 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.6443, allocations: 103 kB / 0.9585 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.6444, allocations: 26.64 kB / 0.9585 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.6444, allocations: 93.92 kB / 0.9586 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.6444, allocations: 5.969 kB / 0.9586 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.6444, allocations: 15.69 kB / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.6445, allocations: 317 kB / 0.9589 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.6445, allocations: 9.5 kB / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.6445, allocations: 40.47 kB / 0.959 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.6446, allocations: 59.06 kB / 0.959 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6446, allocations: 0 / 0.959 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.667e-05/0.6447, allocations: 80.67 kB / 0.9591 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6447, allocations: 8.75 kB / 0.9591 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6447, allocations: 6.125 kB / 0.9591 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.6447, allocations: 1.094 kB / 0.9591 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.6448, allocations: 11.94 kB / 0.9591 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.6448, allocations: 1.094 kB / 0.9591 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.6449, allocations: 2.719 kB / 0.9591 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.6449, allocations: 3.781 kB / 0.9592 GB, free: 4.496 MB / 0.7169 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 4.959e-05/0.6449, allocations: 127.9 kB / 0.9593 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.6449, allocations: 6.219 kB / 0.9593 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.645, allocations: 12.66 kB / 0.9593 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.645, allocations: 4 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.645, allocations: 0.9688 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.645, allocations: 0 / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.626e-05/0.6451, allocations: 159 kB / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6451, allocations: 0 / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.6451, allocations: 7.359 kB / 0.9595 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6451, allocations: 5 kB / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.6451, allocations: 1.094 kB / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6451, allocations: 0 / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6451, allocations: 1.156 kB / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.6452, allocations: 101.1 kB / 0.9596 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.6453, allocations: 78.89 kB / 0.9596 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.6453, allocations: 5.75 kB / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.6453, allocations: 0 / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.6453, allocations: 1.781 kB / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.6453, allocations: 1.781 kB / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.058e-05/0.6454, allocations: 86.86 kB / 0.9597 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6454, allocations: 4 kB / 0.9597 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002438/0.6456, allocations: 31.94 kB / 0.9598 GB, free: 3.852 MB / 0.7169 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.000287/0.6459, allocations: 166 kB / 0.9599 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.646, allocations: 36.23 kB / 0.96 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.646, allocations: 256 / 0.96 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/0.6461, allocations: 18.25 kB / 0.96 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.6462, allocations: 4.391 kB / 0.96 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.6464, allocations: 152.8 kB / 0.9601 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.788e-05/0.6465, allocations: 0.6793 MB / 0.9608 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.6466, allocations: 13.73 kB / 0.9608 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6466, allocations: 0 / 0.9608 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.002566/0.6491, allocations: 1.265 MB / 0.962 GB, free: 2.195 MB / 0.7169 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