Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001094/0.001094, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009866/0.009866, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.847/2.847, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005796/0.0005798, allocations: 9.875 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3573, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001417/0.3587, allocations: 0.9393 MB / 1.06 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3598, allocations: 446.7 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.3599, allocations: 4 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.3599, allocations: 3.938 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.36, allocations: 0 / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.3606, allocations: 83.78 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.3607, allocations: 15.92 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.3607, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.45e-05/0.3607, allocations: 11.98 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.3608, allocations: 7.938 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3608, allocations: 0 / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.3611, allocations: 107.8 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.3611, allocations: 7.984 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3612, allocations: 41.62 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3614, allocations: 95.81 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3614, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3614, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3614, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 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.0005343/0.362, allocations: 377.4 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.362, allocations: 8.031 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3621, allocations: 4.938 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3622, allocations: 172.2 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3623, allocations: 384 / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.3623, allocations: 4.375 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.3624, allocations: 34.25 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3624, allocations: 4.172 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3624, allocations: 3.938 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3624, allocations: 4 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.3625, allocations: 4 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3627, allocations: 153.7 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.425e-05/0.3628, allocations: 38.55 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.3628, allocations: 12.86 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3628, allocations: 0 / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.363, allocations: 55.48 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.363, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002183/0.3632, allocations: 69.56 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.3633, allocations: 59.39 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.3634, allocations: 102 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3634, allocations: 25.7 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.3635, allocations: 84.14 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3635, allocations: 19.73 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3635, allocations: 17.66 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3636, allocations: 310.8 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.3637, allocations: 11.98 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.3637, allocations: 31.44 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.3638, allocations: 51.55 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3638, allocations: 0 / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.3639, allocations: 69.61 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3639, allocations: 13.66 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3639, allocations: 0 / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.364, allocations: 3.938 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.364, allocations: 8 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3641, allocations: 0 / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.3641, allocations: 4 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3641, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 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.987e-05/0.3642, allocations: 121.8 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.3642, allocations: 15.94 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.3643, allocations: 3.5 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3643, allocations: 0 / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3643, allocations: 0 / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3643, allocations: 0 / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3644, allocations: 153.7 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3644, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.3645, allocations: 7.938 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3645, allocations: 7.938 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3645, allocations: 3.984 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3645, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3645, allocations: 4 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.3646, allocations: 81.12 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.3647, allocations: 81.09 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3647, allocations: 3.938 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.3647, allocations: 4 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.3648, allocations: 4 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3648, allocations: 0 / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.3648, allocations: 91.27 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.653e-06/0.3648, allocations: 0 / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003072/0.3651, allocations: 35.94 kB / 1.063 GB, free: 1.055 MB / 0.8106 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.0004043/0.3656, allocations: 162.8 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.3657, allocations: 28.05 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3657, allocations: 4.062 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.3658, allocations: 19.92 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.366, allocations: 0 / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3663, allocations: 118.5 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3666, allocations: 0.677 MB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.3666, allocations: 0 / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.3667, allocations: 11.53 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3667, allocations: 4 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.003519/0.3702, allocations: 1.019 MB / 1.065 GB, free: 14.96 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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