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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 203.3 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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 0.001993/0.001993, allocations: 63.89 kB / 1.109 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9735/0.9755, allocations: 168.7 MB / 1.274 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.003565/0.9791, allocations: 1.221 MB / 1.275 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.9804, allocations: 470.4 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.9804, allocations: 4 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.9804, allocations: 3.938 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.9805, allocations: 0 / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.9813, allocations: 111.6 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.9815, allocations: 23.92 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.103e-05/0.9815, allocations: 3.984 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.9816, allocations: 4 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.9816, allocations: 15.92 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.9816, allocations: 4 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.982, allocations: 115.8 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.982, allocations: 8 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.982, allocations: 15.92 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.9823, allocations: 98.41 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9823, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9823, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.9823, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 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.00067/0.983, allocations: 396.8 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.983, allocations: 8.031 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.9831, allocations: 0.9375 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.9833, allocations: 176.3 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.9833, allocations: 384 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.9833, allocations: 4.375 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.9835, allocations: 42.23 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.9835, allocations: 4.188 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.9835, allocations: 7.938 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.9835, allocations: 0 / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.9835, allocations: 4 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.9838, allocations: 161.7 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.9839, allocations: 26.52 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.9839, allocations: 16.86 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.9839, allocations: 0 / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.9841, allocations: 63.42 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.9841, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002731/0.9844, allocations: 85.55 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.9845, allocations: 55.41 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.9846, allocations: 105.8 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.9846, allocations: 29.64 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.9847, allocations: 84.14 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.9847, allocations: 11.91 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.9847, allocations: 17.72 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.9849, allocations: 318.8 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.9849, allocations: 12 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.985, allocations: 44.27 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.9851, allocations: 52.23 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9851, allocations: 7.938 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001429/0.9852, allocations: 73.55 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.9853, allocations: 11.94 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9853, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.9853, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.9854, allocations: 12 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.9854, allocations: 4 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.9854, allocations: 7.891 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.9854, allocations: 8.125 kB / 1.278 GB, free: 308 kB / 0.9669 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.0001471/0.9856, allocations: 123.5 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.9856, allocations: 3.938 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.9856, allocations: 7.562 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9856, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9856, allocations: 0.5 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9857, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.9859, allocations: 153.7 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9859, allocations: 4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.9859, allocations: 11.98 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.9859, allocations: 3.938 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.9859, allocations: 4 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9859, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9859, allocations: 3.984 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.9861, allocations: 93.02 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.9862, allocations: 81.09 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.9862, allocations: 7.938 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.67e-05/0.9862, allocations: 4 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.9862, allocations: 4 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.9862, allocations: 4 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.9863, allocations: 83.27 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9863, allocations: 0 / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002989/0.9866, allocations: 35.88 kB / 1.278 GB, free: 15.59 MB / 0.9825 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.0004793/0.9871, allocations: 172.7 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.9872, allocations: 31.94 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9872, allocations: 0 / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/0.9873, allocations: 11.98 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.9874, allocations: 4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.9878, allocations: 129.1 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.9881, allocations: 0.677 MB / 1.279 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.9882, allocations: 11.98 kB / 1.279 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.9882, allocations: 11.44 kB / 1.279 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.9882, allocations: 0 / 1.279 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of Templates: time 0.004517/0.9927, allocations: 1.105 MB / 1.281 GB, free: 13.4 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.345004607923329]