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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005167/0.005167, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001286/0.001286, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.441/2.441, allocations: 390.2 MB / 0.6648 GB, free: 108 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 62.86 kB / 0.9504 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2764, allocations: 140.4 MB / 1.087 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002342/0.2788, allocations: 1.223 MB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.2798, allocations: 452.3 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.2799, allocations: 3.938 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.2799, allocations: 0 / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.28, allocations: 7.922 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.2807, allocations: 107.6 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.2808, allocations: 27.84 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.2809, allocations: 8 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.2809, allocations: 8 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.711e-05/0.281, allocations: 11.92 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.281, allocations: 0 / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.2812, allocations: 107.9 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.2813, allocations: 3.984 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.2813, allocations: 11.94 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.2816, allocations: 99.73 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2816, allocations: 3.938 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2816, allocations: 0 / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2816, allocations: 0 / 1.089 GB, free: 48 kB / 0.8419 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.0005766/0.2822, allocations: 396.8 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2822, allocations: 8.031 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.2823, allocations: 34.75 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.2823, allocations: 0.9375 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2825, allocations: 172.2 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.2825, allocations: 4.375 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2825, allocations: 8.375 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2826, allocations: 50.23 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2827, allocations: 3.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2827, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2827, allocations: 3.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.2827, allocations: 11.98 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.2832, allocations: 248.9 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.2834, allocations: 34.5 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.2834, allocations: 24.98 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.2835, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.2837, allocations: 63.33 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 2.414e-06/0.2837, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003524/0.2841, allocations: 77.67 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2842, allocations: 55.41 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2843, allocations: 105.9 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2843, allocations: 25.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.2844, allocations: 84.12 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.2844, allocations: 19.72 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.2845, allocations: 17.72 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2847, allocations: 326.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.2847, allocations: 4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.2848, allocations: 48.28 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.979e-05/0.2849, allocations: 56.23 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2849, allocations: 3.938 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001667/0.285, allocations: 77.64 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2851, allocations: 15.94 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2851, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2851, allocations: 192 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.2852, allocations: 15.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2852, allocations: 3.938 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.2852, allocations: 7.938 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.2852, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.283e-05/0.2853, allocations: 121.7 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.2854, allocations: 7.906 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.2854, allocations: 7.969 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2854, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2854, allocations: 3.984 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2854, allocations: 4.078 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.2857, allocations: 307.1 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2857, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.2858, allocations: 7.938 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2858, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2858, allocations: 4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2858, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2858, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.286, allocations: 167.5 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.286, allocations: 81.02 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.286, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.2861, allocations: 8 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.2861, allocations: 3.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.2862, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.2862, allocations: 83.28 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2862, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000324/0.2865, allocations: 39.92 kB / 1.092 GB, free: 12.86 MB / 0.8575 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008249/0.2874, allocations: 0.7854 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.2875, allocations: 39.92 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2875, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.291e-05/0.2876, allocations: 23.97 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.2878, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.2889, allocations: 1.309 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.2891, allocations: 0.6768 MB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.2892, allocations: 4 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.2892, allocations: 19.42 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.2892, allocations: 4 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.3075, allocations: 2.1 MB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.793, allocations: 7.5 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv","/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:time,y