Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.005324/0.005324, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001287/0.001287, allocations: 197.4 kB / 16.67 MB, free: 5.98 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 61.03 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2966, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002689/0.2994, allocations: 1.218 MB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3005, allocations: 448.2 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.3005, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3006, allocations: 3.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/0.3007, allocations: 8 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.3013, allocations: 115.6 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.3014, allocations: 23.92 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.3015, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.3015, allocations: 11.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.3016, allocations: 11.92 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3016, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.3019, allocations: 103.8 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.3019, allocations: 11.98 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.302, allocations: 7.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.3022, allocations: 107.8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3023, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3023, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3023, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 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.0007475/0.303, allocations: 385 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3031, allocations: 12.03 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.3031, allocations: 4.922 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3033, allocations: 172.3 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3033, allocations: 4.375 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3033, allocations: 12.36 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3035, allocations: 38.25 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3035, allocations: 192 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3035, allocations: 7.922 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3035, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.3036, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.3038, allocations: 153.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.998e-05/0.3039, allocations: 30.55 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.3039, allocations: 20.86 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.304, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3041, allocations: 63.39 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.3041, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002405/0.3044, allocations: 77.56 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3044, allocations: 55.39 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3046, allocations: 109.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3046, allocations: 25.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.3047, allocations: 80.14 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3047, allocations: 23.73 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.3048, allocations: 17.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3049, allocations: 322.8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.3049, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/0.305, allocations: 44.28 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.305, allocations: 52.23 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3051, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001049/0.3052, allocations: 73.56 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3052, allocations: 18.22 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3052, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3052, allocations: 7.984 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.3053, allocations: 12 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3053, allocations: 3.938 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.3054, allocations: 4.5 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.3054, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 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 0.0001056/0.3055, allocations: 118 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.3055, allocations: 11.84 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.3055, allocations: 7.547 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3055, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3056, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3056, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3057, allocations: 157.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3057, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.3057, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3057, allocations: 3.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3058, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3058, allocations: 7.984 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3058, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3059, allocations: 93.09 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.306, allocations: 88.95 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.306, allocations: 7.922 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.306, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.3061, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3061, allocations: 8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.3061, allocations: 83.28 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3061, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002863/0.3064, allocations: 35.98 kB / 1.092 GB, free: 12.68 MB / 0.8575 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.000406/0.3068, allocations: 162.5 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.307, allocations: 39.92 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.307, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.307, allocations: 27.92 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3072, allocations: 0 / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.3075, allocations: 117.1 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.3078, allocations: 0.6768 MB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.3079, allocations: 4.25 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.3079, allocations: 11.44 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3079, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of Templates: time 0.004161/0.3121, allocations: 1.097 MB / 1.094 GB, free: 10.5 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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