Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.005842/0.005842, allocations: 99.2 kB / 15.73 MB, free: 6.066 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.001313/0.001313, allocations: 195 kB / 16.67 MB, free: 5.969 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 64.12 kB / 1.018 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9657/0.9676, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002156/0.9698, allocations: 1.22 MB / 1.168 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.9707, allocations: 456.9 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.9707, allocations: 0 / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.9708, allocations: 4 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.9708, allocations: 11.88 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.9714, allocations: 107.6 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.9715, allocations: 23.92 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.9715, allocations: 3.984 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.9715, allocations: 11.94 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.9716, allocations: 11.92 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.9716, allocations: 4 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.9718, allocations: 103.8 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.9718, allocations: 7.984 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.9719, allocations: 19.92 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.9721, allocations: 100.3 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9721, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9721, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.9721, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 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.0004804/0.9726, allocations: 384.8 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9726, allocations: 12.92 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.9727, allocations: 4.891 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.9728, allocations: 168.4 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.9728, allocations: 4.375 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.9728, allocations: 4.375 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.9729, allocations: 46.17 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.9729, allocations: 192 / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.973, allocations: 7.875 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.973, allocations: 4 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.973, allocations: 7.984 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.9732, allocations: 161.7 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/0.9732, allocations: 26.58 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.9733, allocations: 16.86 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.9733, allocations: 0 / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.9734, allocations: 63.42 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.9734, allocations: 0 / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002303/0.9737, allocations: 81.56 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.9737, allocations: 55.41 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.9738, allocations: 101.9 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.9738, allocations: 25.7 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.9739, allocations: 88.12 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.9739, allocations: 11.91 kB / 1.17 GB, free: 308 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.9739, allocations: 21.66 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9741, allocations: 322.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.9741, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.9741, allocations: 44.28 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.9742, allocations: 52.23 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9742, allocations: 7.938 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001045/0.9743, allocations: 73.55 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.9744, allocations: 11.94 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9744, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.9744, allocations: 4 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.9745, allocations: 12 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.9745, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.9745, allocations: 11.89 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.9745, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 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 7.641e-05/0.9746, allocations: 125.9 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.9746, allocations: 3.938 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.9747, allocations: 7.562 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.9747, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9747, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9747, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.9748, allocations: 162.1 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.9748, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.9748, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.9748, allocations: 11.92 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.9749, allocations: 8 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.9749, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9749, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.975, allocations: 89.08 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.9751, allocations: 85.09 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.9751, allocations: 3.938 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.9751, allocations: 0 / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.9751, allocations: 7.938 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.9752, allocations: 8 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.9752, allocations: 83.27 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9752, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002451/0.9755, allocations: 35.88 kB / 1.171 GB, free: 14.97 MB / 0.9044 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.0003333/0.9758, allocations: 161.2 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.9759, allocations: 35.92 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.976, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.976, allocations: 19.98 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.9761, allocations: 0 / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.9764, allocations: 116.8 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.9766, allocations: 0.6807 MB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.9767, allocations: 8.234 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.9767, allocations: 11.44 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.9767, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.003273/0.98, allocations: 1.101 MB / 1.173 GB, free: 12.79 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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