Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001402/0.001402, allocations: 115 kB / 16.37 MB, free: 6.016 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.001527/0.001527, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 60.09 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2836, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002392/0.2861, allocations: 1.227 MB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.2871, allocations: 456.1 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.2871, allocations: 3.938 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.2871, allocations: 3.938 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.2872, allocations: 0 / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006754/0.2879, allocations: 115.6 kB / 1.021 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.288, allocations: 19.98 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.288, allocations: 4 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.2881, allocations: 8 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.2881, allocations: 11.92 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2881, allocations: 0 / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.2884, allocations: 115.8 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.2884, allocations: 3.938 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.2885, allocations: 15.92 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.2887, allocations: 99.8 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2887, allocations: 0 / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2887, allocations: 0 / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2887, allocations: 4 kB / 1.021 GB, free: 7.801 MB / 0.795 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.0005032/0.2893, allocations: 389.1 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2893, allocations: 8.922 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.2893, allocations: 8.844 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2895, allocations: 164.3 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2895, allocations: 8.312 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.2895, allocations: 4.359 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.2896, allocations: 42.25 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2896, allocations: 4.188 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2897, allocations: 3.938 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2897, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.2897, allocations: 4 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2899, allocations: 161.7 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.2899, allocations: 26.52 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.29, allocations: 20.92 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.29, allocations: 8 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.2901, allocations: 51.41 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.2901, allocations: 0 / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0002268/0.2904, allocations: 85.52 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2904, allocations: 59.34 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.2905, allocations: 101.8 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2905, allocations: 33.7 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.2906, allocations: 88.08 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2906, allocations: 11.75 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.2906, allocations: 29.7 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.2907, allocations: 310.8 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.2907, allocations: 8 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.2908, allocations: 40.28 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.2909, allocations: 56.23 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2909, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000111/0.291, allocations: 77.55 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.291, allocations: 12.06 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.291, allocations: 4 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.291, allocations: 0 / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.2911, allocations: 8 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2911, allocations: 4 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.2912, allocations: 3.984 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.2912, allocations: 4 kB / 1.023 GB, free: 5.734 MB / 0.795 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 7.283e-05/0.2913, allocations: 117.8 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.2913, allocations: 7.844 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.2913, allocations: 11.56 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2913, allocations: 4 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2913, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2913, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2915, allocations: 157.6 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2915, allocations: 0 / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.2915, allocations: 8 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2915, allocations: 7.875 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.2915, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2915, allocations: 0.5 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2915, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2917, allocations: 97.05 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.2917, allocations: 81.02 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.2918, allocations: 7.938 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.2918, allocations: 4 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.2918, allocations: 0 / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2918, allocations: 3.984 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.2919, allocations: 79.28 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2919, allocations: 7.938 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000273/0.2922, allocations: 32 kB / 1.023 GB, free: 5.016 MB / 0.795 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.000353/0.2925, allocations: 170.6 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.2927, allocations: 31.92 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2927, allocations: 256 / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.2927, allocations: 16 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.2929, allocations: 6.969 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.2932, allocations: 117 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2934, allocations: 0.6815 MB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.2934, allocations: 0 / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.2934, allocations: 15.38 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2934, allocations: 0 / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of Templates: time 0.003405/0.2969, allocations: 1.082 MB / 1.025 GB, free: 2.863 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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