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.001048/0.001048, 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.001092/0.001092, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.22 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3383, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002444/0.3408, allocations: 1.227 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.3418, allocations: 468.7 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.3418, allocations: 3.938 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.3418, allocations: 3.938 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.3419, allocations: 0 / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.3425, allocations: 115.6 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.038e-05/0.3426, allocations: 19.92 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.3426, allocations: 11.94 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.3427, allocations: 8 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.3427, allocations: 11.92 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3427, allocations: 0 / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.343, allocations: 99.89 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.343, allocations: 4 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.3431, allocations: 11.92 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3433, allocations: 103.8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3433, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3433, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3433, allocations: 4 kB / 1.07 GB, free: 8.367 MB / 0.8262 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.0005247/0.3438, allocations: 393.3 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3439, allocations: 8.031 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3439, allocations: 4.938 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3441, allocations: 168.3 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3441, allocations: 4.375 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3441, allocations: 384 / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.3442, allocations: 42.25 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3443, allocations: 192 / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3443, allocations: 7.938 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3443, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.86e-05/0.3443, allocations: 7.938 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.3445, allocations: 157.7 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/0.3446, allocations: 26.58 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.3447, allocations: 16.94 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.3447, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.3448, allocations: 59.41 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3448, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002154/0.3451, allocations: 73.55 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.3451, allocations: 51.41 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.3452, allocations: 105.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3452, allocations: 25.7 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.3453, allocations: 88.14 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3453, allocations: 19.73 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.3453, allocations: 17.72 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3455, allocations: 318.8 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.3455, allocations: 7.984 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.3455, allocations: 39.36 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.942e-05/0.3456, allocations: 51.61 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3456, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.891e-05/0.3457, allocations: 73.56 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3457, allocations: 11.88 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3457, allocations: 4.234 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3457, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.3458, allocations: 8 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.3458, allocations: 4.094 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.3459, allocations: 3.984 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3459, allocations: 7.984 kB / 1.072 GB, free: 6.34 MB / 0.8262 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.908e-05/0.346, allocations: 114.4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.346, allocations: 7.844 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.346, allocations: 7.844 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.346, allocations: 4 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.346, allocations: 0 / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.346, allocations: 0 / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3462, allocations: 161.7 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3462, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.3462, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3462, allocations: 3.938 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3462, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3462, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3462, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.3463, allocations: 85.11 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.3464, allocations: 85.02 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3464, allocations: 3.938 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.38e-05/0.3464, allocations: 4 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.3465, allocations: 4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3465, allocations: 3.984 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.3465, allocations: 83.22 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3465, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002415/0.3468, allocations: 35.98 kB / 1.072 GB, free: 5.641 MB / 0.8262 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.0003073/0.3471, allocations: 173.6 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.3472, allocations: 35.95 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3472, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.3473, allocations: 8 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3474, allocations: 9.719 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.3476, allocations: 121 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3479, allocations: 0.6768 MB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.3479, allocations: 4 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.3479, allocations: 7.438 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3479, allocations: 0 / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of Templates: time 0.00335/0.3513, allocations: 1.07 MB / 1.075 GB, free: 3.496 MB / 0.8262 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