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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001398/0.001398, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001505/0.001505, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 70.17 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2806, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002858/0.2835, allocations: 1.227 MB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.2845, allocations: 452.6 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.2846, allocations: 0 / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.2846, allocations: 7.938 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.2847, allocations: 0 / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.2853, allocations: 119.6 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.214e-05/0.2854, allocations: 19.98 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.2855, allocations: 0 / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.2855, allocations: 11.94 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.2855, allocations: 15.91 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2856, allocations: 4 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.2858, allocations: 103.8 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.2858, allocations: 11.98 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.2859, allocations: 7.938 kB / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.2861, allocations: 103.7 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2861, allocations: 0 / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2861, allocations: 4 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.2862, allocations: 0 / 0.9531 GB, free: 5.973 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.0005251/0.2867, allocations: 386.2 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2867, allocations: 12.03 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.2868, allocations: 4.844 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2869, allocations: 164.4 kB / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.2869, allocations: 8.359 kB / 0.9537 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.287, allocations: 4.375 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.2871, allocations: 38.25 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2871, allocations: 192 / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2871, allocations: 15.88 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2871, allocations: 0 / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.918e-05/0.2872, allocations: 7.984 kB / 0.9537 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.2874, allocations: 153.7 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.828e-05/0.2874, allocations: 26.52 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.2875, allocations: 20.94 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.2875, allocations: 4 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.2876, allocations: 59.39 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.2877, allocations: 0 / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.000237/0.2879, allocations: 85.45 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2879, allocations: 51.41 kB / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.288, allocations: 105.8 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2881, allocations: 29.7 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.2881, allocations: 80.14 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.2881, allocations: 19.83 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2882, allocations: 21.7 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2883, allocations: 318.8 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.2883, allocations: 4.5 kB / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.2884, allocations: 40.28 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.2885, allocations: 56.23 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2885, allocations: 7.984 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001222/0.2886, allocations: 77.56 kB / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2886, allocations: 13.69 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2886, allocations: 0 / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2887, allocations: 4 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.2888, allocations: 11.94 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2888, allocations: 3.984 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.2888, allocations: 8 kB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.2888, allocations: 160 / 0.9549 GB, free: 3.906 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.234e-05/0.2889, allocations: 117.8 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.2889, allocations: 15.78 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.289, allocations: 7.562 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.289, allocations: 0 / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.289, allocations: 0 / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.289, allocations: 0 / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.2891, allocations: 165.6 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2891, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.2892, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.2892, allocations: 7.938 kB / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2892, allocations: 0 / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2892, allocations: 0 / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2892, allocations: 0 / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.2894, allocations: 97.05 kB / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.2894, allocations: 85.02 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2894, allocations: 3.938 kB / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.2895, allocations: 0 / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.2895, allocations: 0 / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.2895, allocations: 7.984 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.2896, allocations: 87.34 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2896, allocations: 4 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002872/0.2899, allocations: 39.98 kB / 0.9555 GB, free: 3.184 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.0003383/0.2902, allocations: 158.6 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.2903, allocations: 39.86 kB / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2903, allocations: 4.25 kB / 0.9557 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.2904, allocations: 19.94 kB / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.2905, allocations: 0 / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.2908, allocations: 117 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.2911, allocations: 0.6805 MB / 0.9565 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.2911, allocations: 4 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.2911, allocations: 7.438 kB / 0.9565 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2911, allocations: 0 / 0.9565 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of Templates: time 0.003471/0.2946, allocations: 1.086 MB / 0.9576 GB, free: 1.027 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 -s gbode -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) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y