Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001772/0.001772, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001974/0.001974, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6654 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 65.19 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2948, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002775/0.2976, allocations: 1.213 MB / 0.9514 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.2985, allocations: 460.5 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.2986, allocations: 3.938 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.2986, allocations: 0 / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.2987, allocations: 3.938 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.2993, allocations: 115.6 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.2994, allocations: 19.92 kB / 0.952 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.2995, allocations: 8 kB / 0.952 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.2995, allocations: 7.938 kB / 0.952 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.2995, allocations: 15.92 kB / 0.952 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2996, allocations: 0 / 0.952 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.2998, allocations: 103.9 kB / 0.9521 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.2998, allocations: 7.984 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.2999, allocations: 11.92 kB / 0.9522 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.3001, allocations: 107.7 kB / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3001, allocations: 0 / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3001, allocations: 0 / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3001, allocations: 4 kB / 0.9523 GB, free: 6.781 MB / 0.7325 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.0005785/0.3007, allocations: 385.4 kB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3008, allocations: 8.031 kB / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.3008, allocations: 12.83 kB / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.301, allocations: 160.4 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.301, allocations: 4.375 kB / 0.9528 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.301, allocations: 4.375 kB / 0.9528 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.3011, allocations: 42.23 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3011, allocations: 4.188 kB / 0.9529 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3012, allocations: 3.938 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3012, allocations: 3.938 kB / 0.9529 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.093e-05/0.3012, allocations: 11.94 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.3015, allocations: 157.7 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.3015, allocations: 26.58 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.3016, allocations: 16.8 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.3016, allocations: 4.078 kB / 0.9531 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.3017, allocations: 59.41 kB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3018, allocations: 3.938 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002197/0.302, allocations: 81.52 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.302, allocations: 59.41 kB / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.3021, allocations: 101.8 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3021, allocations: 29.7 kB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.3022, allocations: 84.14 kB / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3022, allocations: 11.84 kB / 0.9535 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.3023, allocations: 21.72 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3024, allocations: 314.8 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.3024, allocations: 8 kB / 0.9538 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.3025, allocations: 48.22 kB / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.577e-05/0.3026, allocations: 52.23 kB / 0.9539 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3026, allocations: 0 / 0.9539 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001095/0.3027, allocations: 77.52 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3027, allocations: 8.062 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3027, allocations: 8 kB / 0.954 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.3028, allocations: 0 / 0.954 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.3028, allocations: 11.94 kB / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.3029, allocations: 4 kB / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.3029, allocations: 4 kB / 0.954 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3029, allocations: 4 kB / 0.954 GB, free: 4.719 MB / 0.7325 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 9.287e-05/0.303, allocations: 117.3 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.303, allocations: 7.844 kB / 0.9541 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.3031, allocations: 11.56 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3031, allocations: 4 kB / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3031, allocations: 0 / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3031, allocations: 0 / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.3032, allocations: 157.7 kB / 0.9543 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3032, allocations: 3.984 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.3032, allocations: 15.91 kB / 0.9543 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3033, allocations: 3.938 kB / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3033, allocations: 0 / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3033, allocations: 0 / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3033, allocations: 4.5 kB / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.3035, allocations: 97.11 kB / 0.9544 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.3035, allocations: 81.02 kB / 0.9545 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3036, allocations: 3.938 kB / 0.9545 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.641e-05/0.3036, allocations: 4 kB / 0.9545 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.3036, allocations: 0 / 0.9545 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3036, allocations: 3.938 kB / 0.9545 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.3037, allocations: 87.27 kB / 0.9546 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3037, allocations: 0 / 0.9546 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002708/0.304, allocations: 36 kB / 0.9546 GB, free: 4 MB / 0.7325 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.0003913/0.3044, allocations: 167 kB / 0.9548 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.3045, allocations: 39.92 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3045, allocations: 256 / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.81e-05/0.3046, allocations: 16 kB / 0.9549 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.3047, allocations: 9.172 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.305, allocations: 134.8 kB / 0.955 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3053, allocations: 0.6844 MB / 0.9557 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.3054, allocations: 11.44 kB / 0.9557 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.3054, allocations: 0 / 0.9557 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of Templates: time 0.002942/0.3083, allocations: 1.285 MB / 0.9569 GB, free: 1.609 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches