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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001992/0.001992, allocations: 108 kB / 15.6 MB, free: 132 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.002443/0.002444, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8584/0.8597, allocations: 140.4 MB / 0.9496 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002/0.8617, allocations: 1.219 MB / 0.9508 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000728/0.8625, allocations: 430 kB / 0.9512 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.8625, allocations: 0 / 0.9512 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.8626, allocations: 3.938 kB / 0.9512 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.927e-05/0.8626, allocations: 5.609 kB / 0.9512 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.8631, allocations: 109.3 kB / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.8631, allocations: 16.14 kB / 0.9513 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.8632, allocations: 1.25 kB / 0.9513 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.8632, allocations: 8.406 kB / 0.9513 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.8633, allocations: 18.62 kB / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.8633, allocations: 1.438 kB / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.8635, allocations: 103.4 kB / 0.9514 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.8635, allocations: 5.781 kB / 0.9514 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.8635, allocations: 5.906 kB / 0.9514 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.8637, allocations: 99.27 kB / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8637, allocations: 0 / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8637, allocations: 0 / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.8637, allocations: 0 / 0.9515 GB, free: 7.508 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.0003907/0.8641, allocations: 383.6 kB / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.8642, allocations: 9.25 kB / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.8642, allocations: 7.094 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.605e-05/0.8643, allocations: 162.4 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.8643, allocations: 384 / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.8643, allocations: 3.781 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.8644, allocations: 42.14 kB / 0.9521 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8644, allocations: 1.531 kB / 0.9521 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.8644, allocations: 7.875 kB / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8645, allocations: 4 kB / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.8645, allocations: 7.875 kB / 0.9521 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.8646, allocations: 160.9 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.171e-05/0.8647, allocations: 35.95 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.8647, allocations: 8.891 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.8647, allocations: 5.25 kB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.8649, allocations: 59.52 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.8649, allocations: 0 / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.8651, allocations: 69.39 kB / 0.9525 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.8651, allocations: 52.81 kB / 0.9525 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.8652, allocations: 103.7 kB / 0.9526 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.8652, allocations: 30.86 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.922e-05/0.8652, allocations: 80.14 kB / 0.9527 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.8652, allocations: 18.64 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.8653, allocations: 18.34 kB / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.8653, allocations: 312.3 kB / 0.953 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.8653, allocations: 12.98 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.8654, allocations: 38.31 kB / 0.9531 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.8654, allocations: 48.73 kB / 0.9531 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8654, allocations: 0 / 0.9531 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.532e-05/0.8655, allocations: 69.12 kB / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.8655, allocations: 8.281 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.8655, allocations: 5.469 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8656, allocations: 1.469 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.8656, allocations: 10.02 kB / 0.9532 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8656, allocations: 10.44 kB / 0.9532 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.8657, allocations: 5.156 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.8657, allocations: 2.656 kB / 0.9532 GB, free: 5.668 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 5.014e-05/0.8657, allocations: 108.4 kB / 0.9533 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.8658, allocations: 5.188 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.8658, allocations: 8.938 kB / 0.9534 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.8658, allocations: 0 / 0.9534 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8658, allocations: 1.062 kB / 0.9534 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8658, allocations: 3.938 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.962e-05/0.8659, allocations: 162.1 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8659, allocations: 3.984 kB / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.8659, allocations: 2.344 kB / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8659, allocations: 3.938 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8659, allocations: 1.594 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.8659, allocations: 0 / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8659, allocations: 1.5 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.866, allocations: 89.08 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.8661, allocations: 82.36 kB / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.8661, allocations: 5.156 kB / 0.9537 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.8661, allocations: 0 / 0.9537 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.8661, allocations: 2.531 kB / 0.9537 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.8661, allocations: 5.328 kB / 0.9537 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.216e-05/0.8662, allocations: 81.78 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8662, allocations: 0 / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002556/0.8664, allocations: 27.94 kB / 0.9538 GB, free: 5.051 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.0003515/0.8668, allocations: 170.6 kB / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.8669, allocations: 30.39 kB / 0.954 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.8669, allocations: 0 / 0.954 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.867, allocations: 11.91 kB / 0.954 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.8671, allocations: 6.844 kB / 0.954 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.8674, allocations: 112.6 kB / 0.9541 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.8675, allocations: 0.677 MB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.8675, allocations: 6.328 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.8676, allocations: 9 kB / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8676, allocations: 0 / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of Templates: time 0.003369/0.8709, allocations: 1.039 MB / 0.9558 GB, free: 3.535 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y