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.001608/0.001608, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001956/0.001956, allocations: 193.3 kB / 16.14 MB, free: 6.645 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6575/0.659, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002366/0.6614, allocations: 1.277 MB / 0.9502 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000927/0.6623, allocations: 447.5 kB / 0.9506 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.6624, allocations: 1.375 kB / 0.9506 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.6624, allocations: 7.938 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.6625, allocations: 0 / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.663, allocations: 87.28 kB / 0.9507 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.663, allocations: 16.23 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.6631, allocations: 2.75 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.6631, allocations: 4.125 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.976e-05/0.6631, allocations: 14.67 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.6632, allocations: 1.375 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.6634, allocations: 97.22 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.6634, allocations: 9.344 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.6634, allocations: 14.69 kB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.6636, allocations: 94.3 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6636, allocations: 3.938 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6636, allocations: 1.375 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.6636, allocations: 3.938 kB / 0.9509 GB, free: 7.586 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.0004903/0.6641, allocations: 375.6 kB / 0.9513 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6642, allocations: 12.23 kB / 0.9513 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.6642, allocations: 3.688 kB / 0.9513 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.574e-05/0.6643, allocations: 169.8 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.6643, allocations: 1.75 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.6644, allocations: 5.75 kB / 0.9515 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.6645, allocations: 35.75 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6645, allocations: 4.125 kB / 0.9515 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6645, allocations: 3.938 kB / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6645, allocations: 1.375 kB / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.043e-05/0.6645, allocations: 6.734 kB / 0.9515 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.6647, allocations: 161.6 kB / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.529e-05/0.6648, allocations: 38.8 kB / 0.9517 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.6648, allocations: 18.34 kB / 0.9517 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.6648, allocations: 0 / 0.9517 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.665, allocations: 55.73 kB / 0.9518 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.665, allocations: 1.375 kB / 0.9518 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001927/0.6652, allocations: 68.94 kB / 0.9518 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.6652, allocations: 56.78 kB / 0.9519 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.6653, allocations: 103.3 kB / 0.952 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.6653, allocations: 25.7 kB / 0.952 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.6653, allocations: 81.52 kB / 0.9521 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.6653, allocations: 9.281 kB / 0.9521 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.6654, allocations: 23.2 kB / 0.9521 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.6654, allocations: 312.2 kB / 0.9524 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.6655, allocations: 16.42 kB / 0.9524 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.6655, allocations: 26.66 kB / 0.9525 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.6655, allocations: 44.38 kB / 0.9525 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6656, allocations: 1.406 kB / 0.9525 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.8e-05/0.6656, allocations: 80.17 kB / 0.9526 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6657, allocations: 9.219 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.6657, allocations: 1.562 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6657, allocations: 1.5 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.6658, allocations: 5.75 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.6658, allocations: 1.375 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.6658, allocations: 1.219 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.6658, allocations: 2.594 kB / 0.9526 GB, free: 5.773 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.771e-05/0.6659, allocations: 120.4 kB / 0.9527 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.6659, allocations: 6.969 kB / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.6659, allocations: 7.438 kB / 0.9527 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6659, allocations: 1.312 kB / 0.9527 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.6659, allocations: 0 / 0.9527 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.666, allocations: 3.938 kB / 0.9527 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.267e-05/0.666, allocations: 158.8 kB / 0.9529 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6661, allocations: 0 / 0.9529 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.6661, allocations: 1.312 kB / 0.9529 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6661, allocations: 5.344 kB / 0.9529 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6661, allocations: 7.984 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6661, allocations: 1.125 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6661, allocations: 4 kB / 0.9529 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.6662, allocations: 83.27 kB / 0.953 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.6662, allocations: 86.25 kB / 0.9531 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.6663, allocations: 3.938 kB / 0.9531 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.6663, allocations: 1.328 kB / 0.9531 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.6663, allocations: 5.359 kB / 0.9531 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.6663, allocations: 5.25 kB / 0.9531 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.6664, allocations: 83.02 kB / 0.9532 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6664, allocations: 0 / 0.9532 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002532/0.6666, allocations: 30.34 kB / 0.9532 GB, free: 5.137 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.000312/0.6669, allocations: 164.8 kB / 0.9534 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.6671, allocations: 32.2 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6671, allocations: 5.25 kB / 0.9534 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.6671, allocations: 14.83 kB / 0.9534 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.0001387/0.6673, allocations: 4.953 kB / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.6675, allocations: 115.1 kB / 0.9535 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.6676, allocations: 0.6784 MB / 0.9542 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.6677, allocations: 7.062 kB / 0.9542 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.6677, allocations: 8.938 kB / 0.9542 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6677, allocations: 0 / 0.9542 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.003361/0.671, allocations: 1.026 MB / 0.9552 GB, free: 3.617 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