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.001017/0.001017, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001246/0.001246, allocations: 164.6 kB / 24.86 MB, free: 8.891 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.816/1.816, allocations: 359 MB / 0.6063 GB, free: 10.88 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.804e-06/1.804e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.213e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002406/0.002428, allocations: 1.271 MB / 0.7895 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.003358, allocations: 451.6 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.003394, allocations: 0 / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.003416, allocations: 0.9062 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.003467, allocations: 3.938 kB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.004095, allocations: 120.5 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.004173, allocations: 19.92 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.004216, allocations: 9.391 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.004252, allocations: 4 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.004283, allocations: 7.984 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.0043, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.004593, allocations: 140.8 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.004612, allocations: 4 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.004638, allocations: 11.91 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.004852, allocations: 117.2 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004854, allocations: 0 / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004854, allocations: 0 / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.004858, allocations: 0 / 0.7904 GB, free: 10.12 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.0004434/0.005302, allocations: 407.7 kB / 0.7908 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.005345, allocations: 12.03 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.005378, allocations: 8.875 kB / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.005479, allocations: 112.6 kB / 0.7909 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.0055, allocations: 1.906 kB / 0.7909 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.00551, allocations: 4.375 kB / 0.7909 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.594e-05/0.005606, allocations: 46.95 kB / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.005614, allocations: 192 / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.005622, allocations: 2.219 kB / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.005628, allocations: 384 / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.005646, allocations: 11.92 kB / 0.7909 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.005765, allocations: 101.2 kB / 0.791 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/0.005843, allocations: 41.44 kB / 0.7911 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.005864, allocations: 11.69 kB / 0.7911 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.00587, allocations: 0 / 0.7911 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.976e-05/0.00597, allocations: 61.14 kB / 0.7911 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.796e-06/0.005973, allocations: 3.984 kB / 0.7912 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.006156, allocations: 70.19 kB / 0.7912 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.006204, allocations: 51.41 kB / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.006302, allocations: 162.5 kB / 0.7914 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.006317, allocations: 27.36 kB / 0.7914 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.006378, allocations: 134.9 kB / 0.7916 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.0064, allocations: 7.953 kB / 0.7916 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.006441, allocations: 27.36 kB / 0.7916 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.006612, allocations: 0.4883 MB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.006625, allocations: 4.562 kB / 0.7921 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-05/0.006667, allocations: 44.05 kB / 0.7921 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.006732, allocations: 55.83 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006735, allocations: 0 / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001034/0.006838, allocations: 59 kB / 0.7922 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.006855, allocations: 11.94 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.00686, allocations: 0 / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.00687, allocations: 1.75 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.006934, allocations: 19.98 kB / 0.7923 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006937, allocations: 3.938 kB / 0.7923 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.006966, allocations: 11.83 kB / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.006974, allocations: 4 kB / 0.7923 GB, free: 7.914 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 9.09e-05/0.007065, allocations: 161.3 kB / 0.7924 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.007075, allocations: 0.8125 kB / 0.7925 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.0071, allocations: 3.688 kB / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.007104, allocations: 4.938 kB / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.007106, allocations: 0 / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.007112, allocations: 3.984 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.641e-05/0.007208, allocations: 108.6 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.00721, allocations: 0 / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-06/0.007217, allocations: 3.938 kB / 0.7926 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.007219, allocations: 0 / 0.7926 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.007227, allocations: 4 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007228, allocations: 0 / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007229, allocations: 0 / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.007354, allocations: 96.31 kB / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.007361, allocations: 4 kB / 0.7927 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.007372, allocations: 4.484 kB / 0.7927 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.591e-05/0.007388, allocations: 1.938 kB / 0.7927 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.007407, allocations: 4.469 kB / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.007414, allocations: 0 / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.007463, allocations: 131.2 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007463, allocations: 0 / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002882/0.007751, allocations: 31.94 kB / 0.7928 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 (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.0003694/0.00812, allocations: 184.8 kB / 0.793 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.008219, allocations: 40.3 kB / 0.793 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008221, allocations: 0.9062 kB / 0.7931 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.008248, allocations: 19.62 kB / 0.7931 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.008413, allocations: 4.781 kB / 0.7931 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.008634, allocations: 122.3 kB / 0.7932 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/0.008669, allocations: 52.64 kB / 0.7932 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.008689, allocations: 4 kB / 0.7932 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.008731, allocations: 70.83 kB / 0.7933 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.008732, allocations: 0 / 0.7933 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of Templates: time 0.003876/0.01261, allocations: 1.277 MB / 0.7946 GB, free: 5.52 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.100170001853257]