Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.001008/0.001008, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001177/0.001177, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9855/0.9855, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.877/1.877, allocations: 359 MB / 0.6052 GB, free: 11.02 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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.478e-05, allocations: 7.031 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001608/0.001623, allocations: 1.266 MB / 0.7883 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006115/0.002234, allocations: 451.1 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.002253, allocations: 3.938 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.002269, allocations: 0 / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.002299, allocations: 4.719 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.002658, allocations: 116 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.044e-05/0.002699, allocations: 24.84 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.246e-05/0.002721, allocations: 4 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.002745, allocations: 11.98 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.914e-05/0.002764, allocations: 12.83 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.002773, allocations: 0 / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.002948, allocations: 137 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.002961, allocations: 11.97 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.002977, allocations: 4 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.003124, allocations: 115.7 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003126, allocations: 3 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003126, allocations: 0 / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.003129, allocations: 0 / 0.7891 GB, free: 10.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003222/0.003451, allocations: 406.1 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.003478, allocations: 11.97 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.003504, allocations: 8.891 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.00364, allocations: 112.6 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.003655, allocations: 1.594 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.003665, allocations: 4.375 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.468e-05/0.00374, allocations: 54.94 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.003749, allocations: 0.7812 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-06/0.003755, allocations: 384 / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.003761, allocations: 1.469 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.412e-05/0.003775, allocations: 7.938 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.644e-05/0.003861, allocations: 116.6 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.003917, allocations: 35.56 kB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.003938, allocations: 17.59 kB / 0.7899 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.003942, allocations: 0 / 0.7899 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/0.004004, allocations: 61.06 kB / 0.7899 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.004005, allocations: 1.531 kB / 0.7899 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001358/0.00414, allocations: 73.56 kB / 0.79 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.004166, allocations: 51.41 kB / 0.7901 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.00423, allocations: 161.9 kB / 0.7902 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.004242, allocations: 35.48 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.004276, allocations: 126.9 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.004293, allocations: 11.83 kB / 0.7904 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.004319, allocations: 31.36 kB / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.004416, allocations: 496.1 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.004427, allocations: 6.312 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.004456, allocations: 54.72 kB / 0.7909 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.004499, allocations: 51.06 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.004502, allocations: 4.516 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.933e-05/0.004571, allocations: 78.27 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.004581, allocations: 4.531 kB / 0.7911 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.004586, allocations: 4 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.004599, allocations: 1.594 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.004649, allocations: 8 kB / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.004655, allocations: 7.938 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.00467, allocations: 3.984 kB / 0.7911 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.004677, allocations: 4.781 kB / 0.7911 GB, free: 8.152 MB / 0.7448 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 5.481e-05/0.004732, allocations: 161.3 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.00474, allocations: 7.938 kB / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.004762, allocations: 4.344 kB / 0.7913 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.004763, allocations: 0.5312 kB / 0.7913 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.004766, allocations: 4 kB / 0.7913 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.004771, allocations: 4.688 kB / 0.7913 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.854e-05/0.004839, allocations: 116.6 kB / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.00484, allocations: 1.375 kB / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-06/0.004845, allocations: 0 / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.004846, allocations: 0 / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.004851, allocations: 5.156 kB / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004852, allocations: 0 / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004852, allocations: 0 / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.198e-05/0.004934, allocations: 104.3 kB / 0.7915 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.004939, allocations: 0.6562 kB / 0.7915 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.004947, allocations: 0.6875 kB / 0.7915 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.004959, allocations: 3.984 kB / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.004974, allocations: 4.844 kB / 0.7915 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.004978, allocations: 3.938 kB / 0.7915 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.005009, allocations: 129 kB / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.005009, allocations: 0 / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001745/0.005183, allocations: 43.8 kB / 0.7917 GB, free: 7.504 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 (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.0002492/0.005432, allocations: 184.2 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.589e-05/0.005508, allocations: 35.61 kB / 0.7919 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.00551, allocations: 4 kB / 0.7919 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.00553, allocations: 15.67 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.897e-05/0.005619, allocations: 4 kB / 0.7919 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001638/0.005783, allocations: 120.2 kB / 0.792 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.36e-05/0.005807, allocations: 55.36 kB / 0.7921 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.00582, allocations: 4 kB / 0.7921 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.005837, allocations: 8.5 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.005837, allocations: 0.5 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of Templates: time 0.002516/0.008353, allocations: 1.125 MB / 0.7932 GB, free: 5.938 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.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,seed,t0,time,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.165451793000102]