Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01015/0.01015, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.002326/0.002326, allocations: 192.1 kB / 16.79 MB, free: 5.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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.609 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.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 55.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5633, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002017/0.5654, allocations: 1.286 MB / 0.9508 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007082/0.5661, allocations: 448.8 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.5661, allocations: 0 / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.5661, allocations: 0 / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.503e-05/0.5662, allocations: 0 / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.5666, allocations: 88.67 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.438e-05/0.5666, allocations: 24.16 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.5667, allocations: 1.375 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.5667, allocations: 12.05 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.402e-05/0.5667, allocations: 6.75 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.5667, allocations: 1.375 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.5669, allocations: 101.2 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.5669, allocations: 9.312 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.5669, allocations: 2.75 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.5671, allocations: 76.69 kB / 0.9516 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5671, allocations: 4 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5671, allocations: 0 / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.5671, allocations: 1.375 kB / 0.9516 GB, free: 7.578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003433/0.5674, allocations: 378.2 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.5675, allocations: 10 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.5675, allocations: 2.406 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.416e-05/0.5676, allocations: 162.1 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.5676, allocations: 1.188 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.5676, allocations: 6.062 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.5677, allocations: 43.52 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5677, allocations: 1.688 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.5677, allocations: 3.938 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5677, allocations: 0 / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.775e-05/0.5678, allocations: 7.531 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.756e-05/0.5679, allocations: 161.8 kB / 0.9523 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.5679, allocations: 30.27 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.568, allocations: 14.61 kB / 0.9524 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.568, allocations: 0 / 0.9524 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.5681, allocations: 63.66 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5681, allocations: 0 / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000177/0.5683, allocations: 66 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.5683, allocations: 57.05 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.5684, allocations: 102.9 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.5684, allocations: 31.11 kB / 0.9527 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.568e-05/0.5684, allocations: 88.08 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.5684, allocations: 10.33 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.5685, allocations: 18.22 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.968e-05/0.5685, allocations: 316.2 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.5685, allocations: 9.484 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.5686, allocations: 42.2 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.5686, allocations: 44.86 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5686, allocations: 0 / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.84e-05/0.5687, allocations: 72.78 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5688, allocations: 13.12 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5688, allocations: 1.281 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5688, allocations: 1.281 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.5688, allocations: 6.156 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5689, allocations: 5.359 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.5689, allocations: 1.781 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5689, allocations: 2.469 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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.974e-05/0.569, allocations: 116.3 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.569, allocations: 5.25 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.569, allocations: 8.656 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.569, allocations: 1.344 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.569, allocations: 4 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.569, allocations: 0 / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.822e-05/0.5691, allocations: 154.8 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5691, allocations: 3.984 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.5691, allocations: 1.375 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5691, allocations: 5.125 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5691, allocations: 1.281 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5691, allocations: 0 / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5691, allocations: 0 / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.5692, allocations: 90.73 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.5693, allocations: 82.89 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.5693, allocations: 5.094 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/0.5693, allocations: 0 / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.5693, allocations: 1 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.5694, allocations: 14.77 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.972e-05/0.5694, allocations: 81.92 kB / 0.9538 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5694, allocations: 4 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002454/0.5696, allocations: 30.88 kB / 0.9539 GB, free: 5.125 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 (4): * Single equations (assignments): 2 * 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.0002937/0.5699, allocations: 164.6 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.678e-05/0.57, allocations: 29.08 kB / 0.954 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.57, allocations: 192 / 0.954 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.5701, allocations: 16.47 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.5702, allocations: 2.719 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.5704, allocations: 137.4 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.035e-05/0.5705, allocations: 0.6743 MB / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.5705, allocations: 9.938 kB / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5706, allocations: 3.938 kB / 0.9549 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.002526/0.5731, allocations: 1.228 MB / 0.9561 GB, free: 3.504 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches