Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007481/0.007481, allocations: 99.52 kB / 15.73 MB, free: 6.035 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.001745/0.001745, allocations: 201 kB / 16.68 MB, free: 5.961 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.12 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3492, allocations: 159.9 MB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002162/0.3514, allocations: 1.241 MB / 1.227 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.3523, allocations: 442.5 kB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.3523, allocations: 0 / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.3524, allocations: 0 / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.3524, allocations: 3.938 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.353, allocations: 127.5 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.3531, allocations: 15.92 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.3531, allocations: 7.984 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.549e-05/0.3531, allocations: 11.98 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.3532, allocations: 7.938 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3532, allocations: 0 / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3534, allocations: 107.8 kB / 1.228 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.3534, allocations: 4 kB / 1.228 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.3535, allocations: 11.92 kB / 1.228 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.3537, allocations: 103.8 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3537, allocations: 0 / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3537, allocations: 0 / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3537, allocations: 0 / 1.228 GB, free: 7.113 MB / 0.9825 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.0005025/0.3542, allocations: 392.7 kB / 1.228 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3543, allocations: 11.97 kB / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.3543, allocations: 8.922 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3544, allocations: 160.4 kB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3544, allocations: 8.375 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.3545, allocations: 4.375 kB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3546, allocations: 38.25 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.3546, allocations: 192 / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3546, allocations: 3.938 kB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3546, allocations: 0 / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.3546, allocations: 11.98 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.3548, allocations: 161.6 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.3549, allocations: 34.55 kB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.3549, allocations: 16.86 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.355, allocations: 0 / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.3551, allocations: 59.47 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3551, allocations: 0 / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002077/0.3553, allocations: 69.56 kB / 1.229 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3554, allocations: 59.39 kB / 1.229 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.3554, allocations: 101.9 kB / 1.229 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3555, allocations: 29.7 kB / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.3555, allocations: 88.12 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3555, allocations: 7.906 kB / 1.229 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.3556, allocations: 21.72 kB / 1.229 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3557, allocations: 318.8 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.3557, allocations: 4 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.3558, allocations: 43.41 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.787e-05/0.3558, allocations: 43.62 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3558, allocations: 0 / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.473e-05/0.3559, allocations: 73.56 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.356, allocations: 15.97 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.356, allocations: 7.938 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.356, allocations: 0 / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.3561, allocations: 11.98 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3561, allocations: 0 / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.3561, allocations: 7.938 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3561, allocations: 0 / 1.229 GB, free: 5.078 MB / 0.9825 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 7.114e-05/0.3562, allocations: 113.8 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.3562, allocations: 7.891 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.3563, allocations: 11.91 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.3563, allocations: 0 / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3563, allocations: 0 / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3563, allocations: 3.984 kB / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3564, allocations: 153.7 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3564, allocations: 0 / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.3564, allocations: 7.938 kB / 1.23 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3564, allocations: 3.938 kB / 1.23 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3564, allocations: 0 / 1.23 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3564, allocations: 0 / 1.23 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3564, allocations: 0 / 1.23 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3566, allocations: 93.11 kB / 1.23 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.3566, allocations: 81.06 kB / 1.23 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3566, allocations: 3.938 kB / 1.23 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.3567, allocations: 4 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.3567, allocations: 3.984 kB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3567, allocations: 0 / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.888e-05/0.3568, allocations: 87.28 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3568, allocations: 0 / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002526/0.357, allocations: 35.86 kB / 1.23 GB, free: 4.371 MB / 0.9825 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.0003397/0.3574, allocations: 178.1 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.3575, allocations: 23.98 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3575, allocations: 0 / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.3575, allocations: 20.11 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.3577, allocations: 8 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.3579, allocations: 108.8 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.3581, allocations: 0.6807 MB / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.009e-05/0.3582, allocations: 256 / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.3582, allocations: 11.44 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3582, allocations: 0 / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of Templates: time 0.00341/0.3616, allocations: 1.093 MB / 1.232 GB, free: 2.207 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,t0,time,y