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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001661/0.001661, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001738/0.001738, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 60.72 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3258, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002719/0.3286, allocations: 1.219 MB / 0.9523 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.3294, allocations: 440.7 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.3295, allocations: 0 / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.3295, allocations: 7.938 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.3296, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.3302, allocations: 107.6 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.3302, allocations: 19.92 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.3303, allocations: 4 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.3303, allocations: 7.938 kB / 0.9529 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.213e-05/0.3304, allocations: 19.91 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.3304, allocations: 0 / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.3306, allocations: 99.84 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.3306, allocations: 3.984 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.3307, allocations: 15.94 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.3308, allocations: 95.8 kB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3309, allocations: 0 / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3309, allocations: 0 / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3309, allocations: 0 / 0.9531 GB, free: 6.027 MB / 0.7325 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.0004972/0.3314, allocations: 381.1 kB / 0.9534 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3314, allocations: 8.031 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.3315, allocations: 4.938 kB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3316, allocations: 164.3 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3316, allocations: 8.375 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.3316, allocations: 8.312 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3318, allocations: 38.19 kB / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3318, allocations: 192 / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3318, allocations: 7.922 kB / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3318, allocations: 0 / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.3318, allocations: 8 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.332, allocations: 153.7 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.3321, allocations: 30.61 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.3321, allocations: 16.86 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3322, allocations: 0 / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3323, allocations: 59.42 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3323, allocations: 0 / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.3325, allocations: 65.81 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.3326, allocations: 59.39 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.3327, allocations: 101.8 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3327, allocations: 29.7 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.3327, allocations: 84.08 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.3328, allocations: 15.8 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3328, allocations: 21.72 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3329, allocations: 310.8 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.333, allocations: 11.98 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.333, allocations: 39.42 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.3331, allocations: 43.36 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3331, allocations: 0 / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001012/0.3332, allocations: 69.62 kB / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3332, allocations: 7.938 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3332, allocations: 4 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3332, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.3333, allocations: 11.94 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3333, allocations: 12.08 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.3334, allocations: 7.984 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3334, allocations: 4 kB / 0.9548 GB, free: 4.02 MB / 0.7325 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 8.046e-05/0.3335, allocations: 115.8 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.3335, allocations: 11.94 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.3335, allocations: 7.5 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3335, allocations: 7.938 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3335, allocations: 0 / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3335, allocations: 0 / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.3337, allocations: 149.7 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3337, allocations: 0 / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.3337, allocations: 3.984 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3337, allocations: 7.938 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3337, allocations: 4 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3337, allocations: 4 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3337, allocations: 0 / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3339, allocations: 85.05 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.3339, allocations: 81.11 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3339, allocations: 3.938 kB / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.334, allocations: 0 / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.334, allocations: 0 / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.334, allocations: 4 kB / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.334, allocations: 87.27 kB / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.334, allocations: 0 / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002569/0.3343, allocations: 28 kB / 0.9554 GB, free: 3.332 MB / 0.7325 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.0003487/0.3347, allocations: 162.3 kB / 0.9555 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3348, allocations: 36.05 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3348, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.3349, allocations: 8 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.335, allocations: 6.188 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.3353, allocations: 105 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3355, allocations: 0.6844 MB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.3356, allocations: 4 kB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.3356, allocations: 11.38 kB / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.3356, allocations: 4.062 kB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of Templates: time 0.003786/0.3394, allocations: 1.043 MB / 0.9574 GB, free: 1.23 MB / 0.7325 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 -s cvode -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/jenkins1/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