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.006338/0.006338, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001182/0.001182, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 61.59 kB / 0.9508 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3345, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002982/0.3375, allocations: 1.218 MB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000892/0.3385, allocations: 432.4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.3385, allocations: 0 / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.3385, allocations: 3.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.3386, allocations: 7.984 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.3392, allocations: 107.6 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.3393, allocations: 15.98 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.3393, allocations: 11.94 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.3394, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.3394, allocations: 11.91 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.3394, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.3396, allocations: 103.8 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.3397, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.3397, allocations: 11.94 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.3399, allocations: 87.86 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3399, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3399, allocations: 3.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3399, allocations: 4 kB / 1.09 GB, free: 15.49 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005355/0.3405, allocations: 381.2 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3405, allocations: 8.031 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3406, allocations: 4.844 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3407, allocations: 168.4 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.3407, allocations: 4.375 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3407, allocations: 8.312 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3409, allocations: 38.23 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3409, allocations: 8.125 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3409, allocations: 3.938 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3409, allocations: 0 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.12e-05/0.3409, allocations: 4 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.3411, allocations: 157.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.3412, allocations: 26.61 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.3412, allocations: 16.8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.3413, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.3414, allocations: 63.48 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3414, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000231/0.3417, allocations: 69.61 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.3417, allocations: 51.41 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.3418, allocations: 105.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3418, allocations: 25.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.3419, allocations: 92.12 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.3419, allocations: 7.906 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.342, allocations: 17.72 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3421, allocations: 318.8 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.3421, allocations: 11.94 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.3422, allocations: 27.44 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.3422, allocations: 51.36 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3422, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001004/0.3424, allocations: 66 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3424, allocations: 9.812 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3424, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3424, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.3425, allocations: 16.02 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3425, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.3425, allocations: 3.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3426, allocations: 8.047 kB / 1.092 GB, free: 13.49 MB / 0.8575 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.971e-05/0.3426, allocations: 113.8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.3427, allocations: 11.83 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.3427, allocations: 7.5 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3427, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3427, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3427, allocations: 8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.3428, allocations: 157.6 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3429, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.3429, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3429, allocations: 3.938 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3429, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3429, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3429, allocations: 3.938 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.3431, allocations: 93.05 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.3431, allocations: 81.02 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3431, allocations: 7.938 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.3432, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.3432, allocations: 3.984 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3432, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.3432, allocations: 75.28 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3432, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002465/0.3435, allocations: 35.98 kB / 1.092 GB, free: 12.79 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 (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.0003289/0.3438, allocations: 161 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.344, allocations: 39.91 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.344, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.344, allocations: 8 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.3441, allocations: 5.875 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.3444, allocations: 113.2 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3447, allocations: 0.6729 MB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.3447, allocations: 3.984 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.3447, allocations: 11.44 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.3447, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.003571/0.3483, allocations: 1.043 MB / 1.094 GB, free: 10.69 MB / 0.8575 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