Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001675/0.001675, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001908/0.001908, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.742/2.742, allocations: 469.8 MB / 0.743 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001928, allocations: 71.95 kB / 0.9092 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 159.2 MB / 1.065 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002877/0.3221, allocations: 1.216 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3232, allocations: 450.5 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.3232, allocations: 0 / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.3233, allocations: 4 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.3233, allocations: 3.938 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.324, allocations: 115.6 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.237e-05/0.3241, allocations: 27.86 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.3241, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.3242, allocations: 7.984 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.3242, allocations: 19.91 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3242, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.3245, allocations: 103.8 kB / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.3245, allocations: 7.984 kB / 1.067 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3246, allocations: 11.94 kB / 1.067 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3248, allocations: 99.8 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3248, allocations: 0 / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3248, allocations: 0 / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3248, allocations: 0 / 1.067 GB, free: 12.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006106/0.3255, allocations: 389.3 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3255, allocations: 8.031 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3256, allocations: 4.938 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3257, allocations: 168.4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.3258, allocations: 8.375 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3258, allocations: 4.375 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3259, allocations: 42.23 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.326, allocations: 4.125 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.326, allocations: 3.938 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.326, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.326, allocations: 11.98 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.3263, allocations: 153.7 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.3263, allocations: 34.61 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.3264, allocations: 12.86 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3264, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.3267, allocations: 63.33 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.3267, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0002596/0.3269, allocations: 73.56 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.327, allocations: 63.41 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3271, allocations: 101.8 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3272, allocations: 29.7 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.3272, allocations: 80.14 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.3273, allocations: 19.73 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.3273, allocations: 21.72 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3275, allocations: 314.8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.3275, allocations: 11.97 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.3276, allocations: 48.23 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.312e-05/0.3277, allocations: 52.22 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3277, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001249/0.3278, allocations: 69.62 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3279, allocations: 11.88 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3279, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3279, allocations: 3.938 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.328, allocations: 11.98 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.328, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.328, allocations: 8.406 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3281, allocations: 4 kB / 1.068 GB, free: 10.59 MB / 0.8419 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.0001072/0.3282, allocations: 115.7 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3282, allocations: 3.938 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.3282, allocations: 11.55 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3282, allocations: 4 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3283, allocations: 7.938 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3283, allocations: 0 / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3285, allocations: 153.7 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3285, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.3285, allocations: 4 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-06/0.3285, allocations: 7.938 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3286, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3286, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3286, allocations: 7.984 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.3287, allocations: 85.12 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.3288, allocations: 81.02 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3288, allocations: 3.938 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.3289, allocations: 7.984 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.3289, allocations: 4.047 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.3289, allocations: 3.984 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.082e-05/0.329, allocations: 83.28 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.329, allocations: 3.938 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002829/0.3293, allocations: 39.98 kB / 1.069 GB, free: 9.883 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 (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.0004184/0.3297, allocations: 176.4 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3299, allocations: 35.92 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3299, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.3299, allocations: 19.98 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.3301, allocations: 4 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3305, allocations: 134.8 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3308, allocations: 0.6848 MB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3309, allocations: 11.44 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3309, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.003506/0.3344, allocations: 1.276 MB / 1.071 GB, free: 7.492 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches