Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001431/0.001431, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001286/0.001286, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 64.39 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3075, allocations: 159.2 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002421/0.31, allocations: 1.278 MB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.3108, allocations: 418.7 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.3109, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.3109, allocations: 7.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.3109, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.3114, allocations: 103.8 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.726e-05/0.3115, allocations: 11.94 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.3115, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.894e-05/0.3116, allocations: 11.98 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.406e-05/0.3116, allocations: 3.938 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.3116, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.3118, allocations: 107.8 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.3118, allocations: 3.984 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.3119, allocations: 15.92 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.312, allocations: 59.91 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.312, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.203e-06/0.312, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.312, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 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.0005122/0.3126, allocations: 381.4 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3126, allocations: 8.031 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3126, allocations: 8.844 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3128, allocations: 164.4 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3128, allocations: 8.359 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.3128, allocations: 384 / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.3129, allocations: 42.19 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.313, allocations: 192 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.313, allocations: 11.88 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.313, allocations: 0 / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.313, allocations: 8 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3132, allocations: 157.7 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.3133, allocations: 22.58 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.3134, allocations: 20.8 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3134, allocations: 8.062 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.3135, allocations: 59.39 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3135, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002087/0.3137, allocations: 69.61 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3138, allocations: 55.41 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.3139, allocations: 109.7 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3139, allocations: 29.7 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.314, allocations: 80.14 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.314, allocations: 15.91 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.3141, allocations: 17.72 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3142, allocations: 314.8 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.3142, allocations: 16 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.3143, allocations: 35.41 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.3144, allocations: 47.38 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3144, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.3145, allocations: 61.62 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3145, allocations: 11.94 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3145, allocations: 4.094 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3145, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.18e-05/0.3146, allocations: 15.92 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3146, allocations: 0 / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.3147, allocations: 8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3147, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 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 9.475e-05/0.3148, allocations: 113.8 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.3148, allocations: 11.84 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.3148, allocations: 7.5 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3148, allocations: 7.984 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3148, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.3149, allocations: 3.938 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.315, allocations: 153.6 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.315, allocations: 0 / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.315, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.315, allocations: 3.938 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3151, allocations: 4 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3151, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3151, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.3152, allocations: 93.47 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.3153, allocations: 81.02 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3153, allocations: 3.938 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.3153, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.3154, allocations: 12.02 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3154, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.367e-05/0.3154, allocations: 79.28 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3155, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002565/0.3157, allocations: 35.98 kB / 1.068 GB, free: 10.39 MB / 0.8419 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.0004008/0.3161, allocations: 163.3 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.3163, allocations: 27.92 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3163, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.3163, allocations: 12 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.3165, allocations: 19.2 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.3167, allocations: 130.7 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3171, allocations: 0.6768 MB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.3171, allocations: 11.44 kB / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.3171, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of Templates: time 0.003374/0.3205, allocations: 1.222 MB / 1.071 GB, free: 8.082 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches