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.00131/0.00131, allocations: 117.1 kB / 16.81 MB, free: 5.77 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.001273/0.001273, allocations: 196.7 kB / 17.77 MB, free: 5.117 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: 225.6 MB / 244.2 MB, free: 13.9 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.739/2.739, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.39 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3631, allocations: 168.7 MB / 1.262 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.003864/0.3669, allocations: 1.23 MB / 1.263 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3687, allocations: 454.8 kB / 1.264 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.3687, allocations: 4 kB / 1.264 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.3688, allocations: 3.938 kB / 1.264 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.3688, allocations: 0 / 1.264 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009609/0.3698, allocations: 111.6 kB / 1.264 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3699, allocations: 19.97 kB / 1.264 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.985e-05/0.37, allocations: 0 / 1.264 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.37, allocations: 19.92 kB / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.3701, allocations: 4 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3701, allocations: 4 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.3705, allocations: 119.8 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.3706, allocations: 11.92 kB / 1.264 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.3706, allocations: 7.938 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.371, allocations: 103.7 kB / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.371, allocations: 0 / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.827e-06/0.371, allocations: 0 / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.371, allocations: 0 / 1.264 GB, free: 10.92 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.0008648/0.3718, allocations: 392.9 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.3719, allocations: 8.031 kB / 1.264 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.372, allocations: 8.859 kB / 1.264 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.3722, allocations: 164.4 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3722, allocations: 384 / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.3722, allocations: 8.375 kB / 1.265 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3724, allocations: 38.25 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3724, allocations: 192 / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3724, allocations: 7.922 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3724, allocations: 0 / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/0.3725, allocations: 15.94 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.3728, allocations: 153.7 kB / 1.265 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3729, allocations: 38.53 kB / 1.265 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.373, allocations: 8.859 kB / 1.265 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.373, allocations: 0 / 1.265 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.3732, allocations: 67.44 kB / 1.265 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.3732, allocations: 0 / 1.265 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003336/0.3736, allocations: 77.56 kB / 1.265 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.3736, allocations: 55.34 kB / 1.265 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3738, allocations: 109.8 kB / 1.265 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3738, allocations: 29.7 kB / 1.265 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.3739, allocations: 84.14 kB / 1.265 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.3739, allocations: 19.89 kB / 1.265 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.374, allocations: 17.72 kB / 1.265 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3742, allocations: 322.8 kB / 1.266 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.3742, allocations: 8 kB / 1.266 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.3743, allocations: 36.3 kB / 1.266 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3745, allocations: 60.72 kB / 1.266 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3745, allocations: 0 / 1.266 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002189/0.3747, allocations: 69.56 kB / 1.266 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3747, allocations: 8 kB / 1.266 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3747, allocations: 3.938 kB / 1.266 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.3747, allocations: 8 kB / 1.266 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3749, allocations: 11.98 kB / 1.266 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3749, allocations: 8.062 kB / 1.266 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.3749, allocations: 3.953 kB / 1.266 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3749, allocations: 4 kB / 1.266 GB, free: 8.848 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 0.000147/0.3751, allocations: 114.6 kB / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.3751, allocations: 0 / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.3751, allocations: 19.48 kB / 1.266 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3751, allocations: 0 / 1.266 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3751, allocations: 0 / 1.266 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.3752, allocations: 81.06 kB / 1.266 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3752, allocations: 4 kB / 1.266 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.3753, allocations: 4 kB / 1.266 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.3753, allocations: 0 / 1.266 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002582/0.3756, allocations: 148.9 kB / 1.266 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003463/0.3759, allocations: 238.8 kB / 1.266 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.642e-05/0.376, allocations: 8 kB / 1.266 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.51e-05/0.3761, allocations: 87.27 kB / 1.266 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of Backend: time 5.11e-07/0.3761, allocations: 0 / 1.266 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.3771, allocations: 176.1 kB / 1.267 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006055/0.3777, allocations: 0.5526 MB / 1.267 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of Templates: time 0.006598/0.3843, allocations: 1.133 MB / 1.268 GB, free: 6.203 MB / 0.9825 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) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y