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.001694/0.001694, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001881/0.001881, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.725/2.725, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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 5.841e-06/5.841e-06, allocations: 4 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.59e-05, allocations: 4.984 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002753/0.002789, allocations: 1.25 MB / 0.7876 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003907, allocations: 451.9 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.003936, allocations: 4 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.003958, allocations: 0 / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.004006, allocations: 8.969 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.004728, allocations: 119.5 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.765e-05/0.004816, allocations: 24.66 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.004857, allocations: 0 / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/0.004911, allocations: 23.08 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.004946, allocations: 3.984 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004965, allocations: 4 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.005323, allocations: 143.7 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.005344, allocations: 7.984 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.005379, allocations: 7.984 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.005674, allocations: 119.6 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005677, allocations: 4 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005678, allocations: 1.062 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.005682, allocations: 0 / 0.7884 GB, free: 10.7 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.0005971/0.00628, allocations: 308.4 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.006323, allocations: 12.03 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.006393, allocations: 10.17 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.006528, allocations: 105.7 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.00656, allocations: 4.375 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.006573, allocations: 1.906 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.006718, allocations: 46.23 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.006727, allocations: 192 / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.006738, allocations: 4.312 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.006743, allocations: 1.875 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.006797, allocations: 19.86 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.006998, allocations: 117.3 kB / 0.789 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.66e-05/0.007075, allocations: 18.58 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.007126, allocations: 15.02 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.007141, allocations: 4 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.007336, allocations: 59.42 kB / 0.7891 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.007338, allocations: 0 / 0.7891 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002881/0.007626, allocations: 78.2 kB / 0.7892 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.007687, allocations: 52.12 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.007813, allocations: 110 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.007838, allocations: 30.19 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.007909, allocations: 88.14 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.007938, allocations: 13.48 kB / 0.7895 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.007988, allocations: 25.72 kB / 0.7895 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.008184, allocations: 314.8 kB / 0.7898 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.008213, allocations: 8 kB / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.008292, allocations: 48.84 kB / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.584e-05/0.008388, allocations: 53.61 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.00839, allocations: 0.6562 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001554/0.008546, allocations: 83.5 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.008561, allocations: 4 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.00857, allocations: 4 kB / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.00859, allocations: 0 / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.008668, allocations: 9.625 kB / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.008677, allocations: 4.094 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.008714, allocations: 7.938 kB / 0.79 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.008727, allocations: 8 kB / 0.79 GB, free: 8.863 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 0.0001108/0.008838, allocations: 118.6 kB / 0.7901 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.008855, allocations: 3.938 kB / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.008886, allocations: 12.34 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008888, allocations: 0.8438 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.008893, allocations: 0 / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.008901, allocations: 5.969 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.009035, allocations: 109.2 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009036, allocations: 0 / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.00906, allocations: 4 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.009063, allocations: 0 / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.009071, allocations: 0 / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.009076, allocations: 4.594 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009076, allocations: 0 / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.009312, allocations: 103.5 kB / 0.7904 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.00932, allocations: 0 / 0.7904 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.009334, allocations: 320 / 0.7904 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.646e-05/0.00936, allocations: 4 kB / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.009396, allocations: 11.95 kB / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.009405, allocations: 4 kB / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.454e-05/0.009469, allocations: 89 kB / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009469, allocations: 0 / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002969/0.009766, allocations: 43.86 kB / 0.7905 GB, free: 8.309 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.0004831/0.01025, allocations: 158.4 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.01039, allocations: 37.55 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01039, allocations: 0 / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.01044, allocations: 13.11 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.01059, allocations: 8 kB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.01094, allocations: 116.6 kB / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.011, allocations: 64.25 kB / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.01103, allocations: 7.719 kB / 0.7909 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.01107, allocations: 8.5 kB / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01107, allocations: 4 kB / 0.7909 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of Templates: time 0.0046/0.01567, allocations: 1.183 MB / 0.7921 GB, free: 6.703 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",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 [Calling sys.exit(0), Time elapsed: 7.705755471019074]