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.001283/0.001283, allocations: 107.1 kB / 15.99 MB, free: 5.91 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.001236/0.001236, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.27 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.666/2.666, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 66.02 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3167, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002687/0.3194, allocations: 1.296 MB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.3204, allocations: 446.6 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.3204, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.3205, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.3205, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.3211, allocations: 95.78 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.3212, allocations: 27.86 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.3212, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.386e-05/0.3213, allocations: 11.98 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.163e-05/0.3213, allocations: 11.92 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3213, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.3216, allocations: 111.8 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.3216, allocations: 3.984 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.3216, allocations: 11.94 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.3218, allocations: 83.77 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3218, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3218, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3219, allocations: 4 kB / 1.066 GB, free: 13.04 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.0005597/0.3225, allocations: 381.4 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3225, allocations: 12.03 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.3226, allocations: 0.9375 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3227, allocations: 168.4 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3227, allocations: 4.359 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.3228, allocations: 8.375 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.3229, allocations: 34.25 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3229, allocations: 4.188 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3229, allocations: 3.938 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3229, allocations: 7.938 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.323, allocations: 8 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.3232, allocations: 161.7 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.3233, allocations: 26.58 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.3233, allocations: 16.94 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3233, allocations: 4 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3235, allocations: 67.25 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.3235, allocations: 0 / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0002392/0.3238, allocations: 73.61 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.3238, allocations: 55.41 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.3239, allocations: 105.8 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.324, allocations: 29.7 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.324, allocations: 84.14 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3241, allocations: 19.75 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.3241, allocations: 25.7 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3243, allocations: 314.8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.3243, allocations: 8 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.3243, allocations: 44.22 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.139e-05/0.3244, allocations: 56.23 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3244, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001145/0.3246, allocations: 69.61 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3246, allocations: 16.06 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3246, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3246, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.3247, allocations: 11.94 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3247, allocations: 3.984 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.3247, allocations: 7.906 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.3248, allocations: 4 kB / 1.068 GB, free: 10.97 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.0001019/0.3249, allocations: 111 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.3249, allocations: 7.875 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.3249, allocations: 15.56 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3249, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3249, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3249, allocations: 4.031 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.3251, allocations: 161.7 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3251, allocations: 3.938 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.3251, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3251, allocations: 3.938 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3251, allocations: 4 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3251, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3252, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.3253, allocations: 93.11 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.3254, allocations: 81.02 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3254, allocations: 7.938 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.557e-05/0.3254, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.3255, allocations: 3.938 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.3255, allocations: 7.984 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.012e-05/0.3255, allocations: 83.28 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3255, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002572/0.3258, allocations: 35.98 kB / 1.069 GB, free: 10.25 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.0003842/0.3262, allocations: 152.5 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.3263, allocations: 39.86 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3263, allocations: 4.25 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.3264, allocations: 12.25 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.3265, allocations: 6.953 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.3268, allocations: 146.9 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3272, allocations: 0.6807 MB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.3272, allocations: 11.44 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.3272, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of Templates: time 0.003187/0.3304, allocations: 1.284 MB / 1.071 GB, free: 7.867 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