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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.2 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.876/1.876, allocations: 359 MB / 0.6052 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.599e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001574/0.00159, allocations: 1.273 MB / 0.7883 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006975/0.002288, allocations: 459.9 kB / 0.7887 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.002315, allocations: 2.125 kB / 0.7887 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.002339, allocations: 3.938 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.002381, allocations: 3.938 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.002877, allocations: 123.5 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.00294, allocations: 19.92 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.002978, allocations: 9.016 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.00301, allocations: 7.984 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.284e-05/0.003043, allocations: 19.86 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.00306, allocations: 5 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.00328, allocations: 135.7 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.003295, allocations: 5.062 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.003321, allocations: 11.97 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.003506, allocations: 123.6 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003507, allocations: 1.562 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.003509, allocations: 4 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.003513, allocations: 0 / 0.7892 GB, free: 10.28 MB / 0.7448 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.0004185/0.003932, allocations: 410 kB / 0.7896 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.003967, allocations: 13.97 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.004008, allocations: 0.9375 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.004093, allocations: 112.6 kB / 0.7897 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.004115, allocations: 4.375 kB / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.004127, allocations: 8.312 kB / 0.7897 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.004224, allocations: 53.23 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.004234, allocations: 192 / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004243, allocations: 384 / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.004251, allocations: 384 / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.004273, allocations: 15.92 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.004392, allocations: 120.6 kB / 0.7899 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.004436, allocations: 35.66 kB / 0.7899 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.004464, allocations: 21.22 kB / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.00447, allocations: 0 / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.016e-05/0.004551, allocations: 65.14 kB / 0.79 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 5.71e-07/0.004551, allocations: 1.75 kB / 0.79 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001738/0.004725, allocations: 69.67 kB / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.004758, allocations: 59.34 kB / 0.7902 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.004835, allocations: 165.9 kB / 0.7903 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.004848, allocations: 33.7 kB / 0.7903 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.004888, allocations: 127.7 kB / 0.7905 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.004907, allocations: 7.906 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.004944, allocations: 32.06 kB / 0.7905 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.005055, allocations: 496.1 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.00507, allocations: 5.406 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.005107, allocations: 54.42 kB / 0.791 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.696e-05/0.005164, allocations: 72.73 kB / 0.7911 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.005166, allocations: 0 / 0.7911 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.982e-05/0.005246, allocations: 81.5 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.005257, allocations: 4.719 kB / 0.7912 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.005263, allocations: 4 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.005278, allocations: 0.5312 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.005347, allocations: 13.66 kB / 0.7912 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.005355, allocations: 8.031 kB / 0.7912 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.005374, allocations: 7.938 kB / 0.7912 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.005382, allocations: 3.984 kB / 0.7912 GB, free: 7.973 MB / 0.7448 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 6.876e-05/0.005451, allocations: 165.2 kB / 0.7914 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.00546, allocations: 5.781 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.005484, allocations: 7.812 kB / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005486, allocations: 0 / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005489, allocations: 0 / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.005494, allocations: 9.094 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.86e-05/0.005573, allocations: 124.6 kB / 0.7915 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005573, allocations: 0 / 0.7915 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-06/0.005583, allocations: 5.375 kB / 0.7915 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005584, allocations: 0 / 0.7915 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.005591, allocations: 0 / 0.7915 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.005591, allocations: 0 / 0.7915 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.005592, allocations: 4.844 kB / 0.7915 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.971e-05/0.005692, allocations: 112.3 kB / 0.7916 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.005697, allocations: 4.844 kB / 0.7916 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.005706, allocations: 0 / 0.7916 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.232e-05/0.005719, allocations: 0 / 0.7916 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.005741, allocations: 5.266 kB / 0.7916 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.005746, allocations: 4 kB / 0.7916 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.005785, allocations: 131.1 kB / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005785, allocations: 0.7188 kB / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001924/0.005977, allocations: 39.86 kB / 0.7918 GB, free: 7.305 MB / 0.7448 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.0002907/0.006268, allocations: 171.4 kB / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.531e-05/0.006363, allocations: 44.91 kB / 0.792 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006364, allocations: 0 / 0.792 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.006393, allocations: 34.89 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.006494, allocations: 6.031 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.006707, allocations: 126.2 kB / 0.7922 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.031e-05/0.006738, allocations: 55.36 kB / 0.7922 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.006755, allocations: 0 / 0.7922 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.006772, allocations: 12.5 kB / 0.7922 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.006773, allocations: 0 / 0.7922 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.002782/0.009555, allocations: 1.175 MB / 0.7934 GB, free: 5.676 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.26138180308044]