Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 103.5 kB / 16.4 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 190.8 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.66/2.66, allocations: 461.9 MB / 0.7354 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7817, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002471/0.7843, allocations: 1.217 MB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.7852, allocations: 458.3 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.7853, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.7854, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.7854, allocations: 3.938 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.786, allocations: 115.6 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.831e-05/0.7861, allocations: 19.92 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.7862, allocations: 4 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.7862, allocations: 15.94 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.335e-05/0.7863, allocations: 11.92 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.7863, allocations: 0 / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.7865, allocations: 107.9 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.7866, allocations: 7.922 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.7866, allocations: 15.92 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.7868, allocations: 95.8 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7869, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7869, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.7869, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 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.0005645/0.7875, allocations: 397 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7875, allocations: 8.031 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.7876, allocations: 4.938 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.7877, allocations: 160.4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.7877, allocations: 4.375 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.7877, allocations: 384 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.7879, allocations: 50.22 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.7879, allocations: 8.062 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.7879, allocations: 3.938 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7879, allocations: 4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.968e-05/0.788, allocations: 8 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.7881, allocations: 161.6 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.7882, allocations: 22.58 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.7883, allocations: 16.86 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.7883, allocations: 4.078 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.7885, allocations: 59.34 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.7885, allocations: 0 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002313/0.7887, allocations: 81.61 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.7888, allocations: 55.41 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.7888, allocations: 101.8 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.7889, allocations: 33.7 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.7889, allocations: 80.14 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.7889, allocations: 13.64 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.789, allocations: 25.72 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7891, allocations: 318.8 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.7891, allocations: 12 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/0.7892, allocations: 44.22 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.844e-05/0.7892, allocations: 52.23 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7893, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001216/0.7894, allocations: 73.61 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7894, allocations: 11.94 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7894, allocations: 3.938 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7894, allocations: 4.125 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.7895, allocations: 8 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7895, allocations: 4 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.7896, allocations: 3.906 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.7896, allocations: 4 kB / 1.212 GB, free: 9.449 MB / 0.9356 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 8.184e-05/0.7897, allocations: 121.8 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.7897, allocations: 3.938 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.7897, allocations: 7.562 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7897, allocations: 4 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.7897, allocations: 4 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7898, allocations: 7.875 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.7899, allocations: 157.7 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7899, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.7899, allocations: 7.984 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.7899, allocations: 3.938 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.7899, allocations: 0 / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.79, allocations: 0.5 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.79, allocations: 4 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.7901, allocations: 97.02 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.7901, allocations: 81.11 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.7902, allocations: 3.938 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.7902, allocations: 4 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.7902, allocations: 48 / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.7902, allocations: 3.984 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.7903, allocations: 83.27 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.633e-06/0.7903, allocations: 0 / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002552/0.7905, allocations: 39.94 kB / 1.213 GB, free: 8.73 MB / 0.9356 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.0003521/0.7909, allocations: 170.1 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.791, allocations: 31.92 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.791, allocations: 0 / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.7911, allocations: 12 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.7912, allocations: 8.25 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.7915, allocations: 150.5 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.7918, allocations: 0.6807 MB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.7918, allocations: 7.438 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7918, allocations: 0 / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of Templates: time 0.00315/0.7949, allocations: 1.273 MB / 1.215 GB, free: 6.348 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches