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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_10_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.005416/0.005416, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001358/0.001358, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2882, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002098/0.2904, allocations: 1.221 MB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008316/0.2912, allocations: 462.8 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.2913, allocations: 0 / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.2913, allocations: 3.938 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.2913, allocations: 0 / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.2919, allocations: 115.6 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.292, allocations: 19.98 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.292, allocations: 3.938 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.292, allocations: 15.92 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.689e-05/0.2921, allocations: 4 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2921, allocations: 4 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.2923, allocations: 107.9 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2923, allocations: 11.91 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.2924, allocations: 11.94 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.2926, allocations: 103.9 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2926, allocations: 0 / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2926, allocations: 0 / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2926, allocations: 4 kB / 1.168 GB, free: 5.246 MB / 0.92 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.0004479/0.2931, allocations: 384.9 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2931, allocations: 12.03 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.2932, allocations: 42.69 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.2932, allocations: 0.9375 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.837e-05/0.2933, allocations: 164.4 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2933, allocations: 384 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.2933, allocations: 8.375 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.2935, allocations: 46.23 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2935, allocations: 3.938 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2935, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2935, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.2936, allocations: 11.94 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.2939, allocations: 252.9 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.071e-05/0.2939, allocations: 38.5 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.294, allocations: 20.92 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.294, allocations: 0 / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.2942, allocations: 67.33 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.592e-06/0.2942, allocations: 0 / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002093/0.2944, allocations: 77.67 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2944, allocations: 55.41 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.2945, allocations: 114 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2945, allocations: 25.7 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.2946, allocations: 80.14 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.2946, allocations: 23.86 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.2947, allocations: 25.7 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.2947, allocations: 314.8 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.2948, allocations: 11.92 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.2948, allocations: 40.3 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.2949, allocations: 68.2 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2949, allocations: 3.938 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001085/0.295, allocations: 73.56 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.295, allocations: 11.98 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.295, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2951, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.2951, allocations: 16.09 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2951, allocations: 0 / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.2952, allocations: 11.95 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2952, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 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 7.605e-05/0.2953, allocations: 125.7 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.2953, allocations: 7.984 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.2953, allocations: 3.969 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2953, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2953, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2954, allocations: 4 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.2956, allocations: 310.5 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2956, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.2956, allocations: 4 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2957, allocations: 7.938 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2957, allocations: 0 / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2957, allocations: 3.938 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2957, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.2958, allocations: 175.7 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.2959, allocations: 77.3 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2959, allocations: 8.062 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/0.296, allocations: 11.92 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.296, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.296, allocations: 4 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.296, allocations: 79.28 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.41e-07/0.296, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002971/0.2963, allocations: 43.8 kB / 1.171 GB, free: 2.051 MB / 0.92 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.0006654/0.297, allocations: 0.7727 MB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.2971, allocations: 43.91 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2972, allocations: 4.188 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.2972, allocations: 16 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.2974, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2985, allocations: 1.317 MB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2987, allocations: 0.6806 MB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.2988, allocations: 11.92 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.2988, allocations: 15.44 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.2988, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.3176, allocations: 2.103 MB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.26, allocations: 7.891 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv","/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:time,y