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.001477/0.001477, allocations: 109.2 kB / 15.99 MB, free: 5.91 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.001598/0.001598, allocations: 191 kB / 16.91 MB, free: 5.758 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.246/2.246, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.61 kB / 0.8127 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2678, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002587/0.2705, allocations: 1.292 MB / 0.951 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.2714, allocations: 444.7 kB / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.2715, allocations: 0 / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.2715, allocations: 0 / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.2716, allocations: 3.938 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.2723, allocations: 99.78 kB / 0.9515 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.2724, allocations: 19.98 kB / 0.9516 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.2724, allocations: 4 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.2725, allocations: 15.92 kB / 0.9516 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.218e-05/0.2725, allocations: 11.92 kB / 0.9516 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2725, allocations: 7.984 kB / 0.9516 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.2728, allocations: 103.8 kB / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.2728, allocations: 4 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.2729, allocations: 7.938 kB / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2731, allocations: 71.89 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2731, allocations: 0 / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2731, allocations: 3.938 kB / 0.9518 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.2731, allocations: 4 kB / 0.9518 GB, free: 7.168 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.0005808/0.2737, allocations: 393.3 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2737, allocations: 8.031 kB / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.2738, allocations: 4.844 kB / 0.9522 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2739, allocations: 164.4 kB / 0.9523 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.2739, allocations: 12.3 kB / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.274, allocations: 4.375 kB / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2741, allocations: 38.25 kB / 0.9524 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2741, allocations: 4.188 kB / 0.9524 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2741, allocations: 7.938 kB / 0.9524 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2741, allocations: 0 / 0.9524 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.2742, allocations: 4 kB / 0.9524 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.2744, allocations: 157.7 kB / 0.9525 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.61e-05/0.2745, allocations: 34.52 kB / 0.9526 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.2745, allocations: 16.94 kB / 0.9526 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2746, allocations: 4 kB / 0.9526 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.2748, allocations: 55.41 kB / 0.9527 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.2748, allocations: 0 / 0.9527 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002661/0.275, allocations: 81.52 kB / 0.9527 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.2751, allocations: 59.34 kB / 0.9528 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.2752, allocations: 106.1 kB / 0.9529 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2752, allocations: 25.7 kB / 0.9529 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.2753, allocations: 88.14 kB / 0.953 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.2753, allocations: 11.84 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.2754, allocations: 29.7 kB / 0.953 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2755, allocations: 314.8 kB / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.2755, allocations: 4 kB / 0.9533 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.2756, allocations: 40.28 kB / 0.9534 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.375e-05/0.2757, allocations: 60.22 kB / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2757, allocations: 0 / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000119/0.2758, allocations: 81.45 kB / 0.9535 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2758, allocations: 12.06 kB / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.2759, allocations: 4 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2759, allocations: 3.938 kB / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.276, allocations: 8 kB / 0.9535 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.276, allocations: 3.984 kB / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/0.276, allocations: 8 kB / 0.9536 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.276, allocations: 4 kB / 0.9536 GB, free: 5.09 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.736e-05/0.2761, allocations: 113.8 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.2762, allocations: 11.84 kB / 0.9537 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.2762, allocations: 7.562 kB / 0.9537 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2762, allocations: 3.938 kB / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2762, allocations: 0 / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2762, allocations: 0 / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.2764, allocations: 161.7 kB / 0.9538 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2764, allocations: 0 / 0.9538 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.2764, allocations: 4 kB / 0.9538 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2764, allocations: 3.938 kB / 0.9538 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2764, allocations: 0 / 0.9538 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2764, allocations: 160 / 0.9538 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2764, allocations: 0 / 0.9538 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.2766, allocations: 101.4 kB / 0.9539 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.2766, allocations: 81.02 kB / 0.954 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2767, allocations: 3.938 kB / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.2767, allocations: 4 kB / 0.954 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.2767, allocations: 4 kB / 0.954 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2767, allocations: 3.984 kB / 0.954 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.2768, allocations: 83.28 kB / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/0.2768, allocations: 4 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002631/0.277, allocations: 35.98 kB / 0.9542 GB, free: 4.379 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.0003837/0.2774, allocations: 174 kB / 0.9543 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.2776, allocations: 39.92 kB / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2776, allocations: 256 / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.2776, allocations: 19.94 kB / 0.9544 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.2778, allocations: 4 kB / 0.9544 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.2781, allocations: 146.7 kB / 0.9545 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.2785, allocations: 0.6805 MB / 0.9552 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.2785, allocations: 11.44 kB / 0.9552 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.2785, allocations: 0 / 0.9552 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of Templates: time 0.003186/0.2817, allocations: 1.277 MB / 0.9564 GB, free: 1.98 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