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.00611/0.006111, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001444/0.001444, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 1.054 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7817/0.783, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001989/0.785, allocations: 1.217 MB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.7858, allocations: 434.6 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.7859, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.7859, allocations: 3.938 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.503e-05/0.7859, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.7864, allocations: 107.6 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.7865, allocations: 19.92 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.7866, allocations: 4 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.7866, allocations: 7.938 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.81e-05/0.7866, allocations: 11.98 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.7866, allocations: 4 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.7869, allocations: 103.8 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.7869, allocations: 7.969 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.7869, allocations: 11.94 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.7871, allocations: 91.8 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7871, allocations: 4 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7871, allocations: 0 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.7871, allocations: 0 / 1.21 GB, free: 11.65 MB / 0.9356 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.0004449/0.7876, allocations: 381 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7876, allocations: 12.03 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.7877, allocations: 0.9375 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.765e-05/0.7878, allocations: 164.4 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.7878, allocations: 8.312 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.7878, allocations: 8.359 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.468e-05/0.7879, allocations: 38.19 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.7879, allocations: 8.109 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.7879, allocations: 3.938 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.788, allocations: 4 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.788, allocations: 4 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.7881, allocations: 161.7 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.842e-05/0.7882, allocations: 26.61 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.7883, allocations: 12.86 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.7883, allocations: 4 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.7884, allocations: 59.42 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.7884, allocations: 4 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001943/0.7886, allocations: 69.53 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.7886, allocations: 55.39 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.92e-05/0.7887, allocations: 97.86 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.7887, allocations: 29.7 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.7888, allocations: 80.14 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.7888, allocations: 11.89 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.7888, allocations: 21.72 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.7889, allocations: 314.8 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.789, allocations: 15.92 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.789, allocations: 27.44 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.7891, allocations: 51.36 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7891, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.847e-05/0.7892, allocations: 65.62 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7892, allocations: 7.938 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7892, allocations: 4 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7892, allocations: 432 / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.7893, allocations: 8 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.7893, allocations: 0 / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.7893, allocations: 17.66 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.7894, allocations: 4.094 kB / 1.211 GB, free: 9.656 MB / 0.9356 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 6.709e-05/0.7894, allocations: 113.8 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.7894, allocations: 3.938 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.7895, allocations: 15.42 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7895, allocations: 4 kB / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.7895, allocations: 0 / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7895, allocations: 0 / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.7896, allocations: 149.7 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7896, allocations: 0 / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.7896, allocations: 3.984 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.7896, allocations: 11.94 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.7897, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7897, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7897, allocations: 3.938 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.7898, allocations: 89.05 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.7898, allocations: 85.02 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.7899, allocations: 3.938 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/0.7899, allocations: 4 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.7899, allocations: 4 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.7899, allocations: 4 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.79, allocations: 79.27 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.79, allocations: 4 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002427/0.7902, allocations: 28 kB / 1.212 GB, free: 8.961 MB / 0.9356 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.000325/0.7905, allocations: 164.3 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.7907, allocations: 40.09 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7907, allocations: 0 / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.7907, allocations: 8 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.7909, allocations: 4 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.7911, allocations: 108.9 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.7913, allocations: 0.6768 MB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.7913, allocations: 8.125 kB / 1.213 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.7914, allocations: 11.44 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of SimCode: time 1.703e-06/0.7914, allocations: 0 / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of Templates: time 0.003766/0.7951, allocations: 1.054 MB / 1.214 GB, free: 6.844 MB / 0.9356 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