Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.006891/0.006891, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.00171/0.00171, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.6 MB / 0.7453 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3412, allocations: 159.9 MB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002126/0.3433, allocations: 1.237 MB / 1.227 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008511/0.3442, allocations: 438.5 kB / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.3442, allocations: 0 / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.3443, allocations: 0 / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.3443, allocations: 3.938 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.3449, allocations: 119.6 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.3449, allocations: 27.86 kB / 1.227 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.345, allocations: 0 / 1.227 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.345, allocations: 7.984 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.374e-05/0.3451, allocations: 11.94 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3451, allocations: 0 / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.3453, allocations: 107.8 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.3454, allocations: 7.984 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.3454, allocations: 11.92 kB / 1.228 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.3456, allocations: 103.7 kB / 1.228 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3456, allocations: 3.938 kB / 1.228 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3456, allocations: 0 / 1.228 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3456, allocations: 4 kB / 1.228 GB, free: 7.172 MB / 0.9825 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.0005344/0.3462, allocations: 392.7 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3462, allocations: 8.031 kB / 1.228 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.3463, allocations: 4.938 kB / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3464, allocations: 164.4 kB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3464, allocations: 4.375 kB / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3464, allocations: 8.375 kB / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3465, allocations: 38.25 kB / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.3466, allocations: 4.125 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3466, allocations: 3.938 kB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3466, allocations: 0 / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.3466, allocations: 15.97 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.3468, allocations: 157.7 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/0.3469, allocations: 26.61 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.3469, allocations: 16.86 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.3469, allocations: 0 / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.3471, allocations: 67.38 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3471, allocations: 0 / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0001977/0.3473, allocations: 73.62 kB / 1.229 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3473, allocations: 55.41 kB / 1.229 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.3474, allocations: 105.8 kB / 1.229 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3474, allocations: 29.7 kB / 1.229 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.3475, allocations: 80.14 kB / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.3475, allocations: 19.83 kB / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.3476, allocations: 21.72 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3477, allocations: 314.8 kB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.3477, allocations: 11.98 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.3477, allocations: 44.23 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.3478, allocations: 52.22 kB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3478, allocations: 4 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001023/0.3479, allocations: 70.12 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.348, allocations: 21.38 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.348, allocations: 0 / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.348, allocations: 0 / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/0.3481, allocations: 11.98 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3481, allocations: 4 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.3481, allocations: 11.95 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.3481, allocations: 4 kB / 1.229 GB, free: 5.102 MB / 0.9825 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 9.64e-05/0.3482, allocations: 114.5 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.3482, allocations: 3.938 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.3483, allocations: 15.48 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3483, allocations: 4 kB / 1.23 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3483, allocations: 3.938 kB / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3483, allocations: 0 / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.3484, allocations: 157.7 kB / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3484, allocations: 0 / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.3484, allocations: 4 kB / 1.23 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3485, allocations: 3.938 kB / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3485, allocations: 0 / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3485, allocations: 8 kB / 1.23 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3485, allocations: 0 / 1.23 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.3486, allocations: 93.06 kB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.3487, allocations: 77.11 kB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3487, allocations: 3.938 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.3487, allocations: 7.984 kB / 1.23 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.3487, allocations: 0 / 1.23 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3487, allocations: 8 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.3488, allocations: 79.28 kB / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3488, allocations: 7.938 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002397/0.349, allocations: 39.86 kB / 1.23 GB, free: 4.387 MB / 0.9825 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.0003295/0.3494, allocations: 164.4 kB / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.3495, allocations: 39.92 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3495, allocations: 3.938 kB / 1.23 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.3495, allocations: 11.98 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.3497, allocations: 8 kB / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.3499, allocations: 120.8 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3502, allocations: 0.6827 MB / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.93e-05/0.3502, allocations: 256 / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.3502, allocations: 15.44 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3502, allocations: 0 / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of Templates: time 0.003313/0.3536, allocations: 1.105 MB / 1.232 GB, free: 2.191 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y