Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 102.9 kB / 16.35 MB, free: 5.828 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.001367/0.001368, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.492/2.492, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 69.19 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002346/0.3307, allocations: 1.239 MB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.3316, allocations: 456.9 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.3317, allocations: 0 / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.3317, allocations: 0 / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.3318, allocations: 7.938 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.3323, allocations: 111.6 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.3324, allocations: 23.86 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.3325, allocations: 4 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.3325, allocations: 4 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.3325, allocations: 15.92 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3326, allocations: 0 / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.3328, allocations: 115.8 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.3328, allocations: 0 / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3328, allocations: 15.92 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.333, allocations: 103.8 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3331, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3331, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3331, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004951/0.3336, allocations: 394.2 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3336, allocations: 8.031 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3337, allocations: 4.938 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3338, allocations: 160.4 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3338, allocations: 4.375 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.3338, allocations: 12.31 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.3339, allocations: 46.23 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.334, allocations: 192 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.334, allocations: 3.938 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.334, allocations: 0 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.334, allocations: 7.938 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.3342, allocations: 161.7 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.3343, allocations: 26.56 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.3343, allocations: 24.88 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3343, allocations: 4 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.3345, allocations: 51.41 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3345, allocations: 0 / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002313/0.3347, allocations: 81.52 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.3348, allocations: 55.41 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.3349, allocations: 109.8 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3349, allocations: 29.7 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.335, allocations: 84.14 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.335, allocations: 11.75 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.335, allocations: 25.7 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3351, allocations: 314.8 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.3352, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.3352, allocations: 48.27 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.3353, allocations: 52.23 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3353, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/0.3354, allocations: 85.55 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3354, allocations: 11.88 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3355, allocations: 4 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3355, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.3356, allocations: 8 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3356, allocations: 4 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.3356, allocations: 0 / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3356, allocations: 7.984 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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 8.271e-05/0.3357, allocations: 121.9 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.3357, allocations: 7.844 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.3358, allocations: 4.062 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3358, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3358, allocations: 4 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3358, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3359, allocations: 157.7 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3359, allocations: 3.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.3359, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3359, allocations: 3.938 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.336, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.336, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.336, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.3361, allocations: 97.05 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.3362, allocations: 81.02 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3362, allocations: 7.875 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.3362, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.3362, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3362, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.3363, allocations: 83.27 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3363, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002531/0.3366, allocations: 32 kB / 1.031 GB, free: 13.2 MB / 0.8106 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 (5): * Single equations (assignments): 3 * 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.0003497/0.3369, allocations: 170.5 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.337, allocations: 39.92 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3371, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.3371, allocations: 12.25 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.3373, allocations: 4 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.3375, allocations: 113 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3377, allocations: 0.6845 MB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.3378, allocations: 256 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.3378, allocations: 15.44 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3378, allocations: 0 / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of Templates: time 0.003507/0.3413, allocations: 1.097 MB / 1.033 GB, free: 11.02 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y