Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.004512/0.004512, allocations: 97.64 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.00109/0.00109, allocations: 197.2 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.557/2.557, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 1.018 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2894, allocations: 151.6 MB / 1.166 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002995/0.2924, allocations: 1.227 MB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.2933, allocations: 462.8 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.2934, allocations: 3.938 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.2934, allocations: 4 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.2935, allocations: 7.938 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.294, allocations: 107.6 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.2941, allocations: 23.92 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.2941, allocations: 0 / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.2941, allocations: 15.92 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.832e-05/0.2942, allocations: 7.984 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2942, allocations: 4 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.2944, allocations: 103.8 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2944, allocations: 7.938 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.2945, allocations: 15.92 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.2947, allocations: 95.97 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2947, allocations: 7.922 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2947, allocations: 0 / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2947, allocations: 0 / 1.168 GB, free: 5.328 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004901/0.2952, allocations: 392.9 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2952, allocations: 8.031 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.2953, allocations: 30.75 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.2953, allocations: 8.938 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.2954, allocations: 164.3 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.2955, allocations: 4.375 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2955, allocations: 384 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.2956, allocations: 50.17 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2956, allocations: 3.938 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2956, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2956, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.2957, allocations: 4 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.296, allocations: 256.9 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.2961, allocations: 42.44 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.2962, allocations: 24.88 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.2962, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.2963, allocations: 59.41 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.2963, allocations: 0 / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002163/0.2966, allocations: 77.61 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2966, allocations: 51.41 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.2967, allocations: 114 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2967, allocations: 25.7 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.2968, allocations: 92.12 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2968, allocations: 7.938 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2968, allocations: 21.72 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2969, allocations: 318.8 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.297, allocations: 7.984 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/0.297, allocations: 31.44 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.148e-05/0.2971, allocations: 51.36 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2971, allocations: 7.938 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001061/0.2972, allocations: 77.58 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2972, allocations: 7.984 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2972, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2972, allocations: 4 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.2973, allocations: 11.94 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2973, allocations: 0 / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.2974, allocations: 0 / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2974, allocations: 4 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 8.996e-05/0.2975, allocations: 125.8 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.2975, allocations: 3.953 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2975, allocations: 7.953 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2975, allocations: 4 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2975, allocations: 0 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2975, allocations: 0 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.2978, allocations: 310.4 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2978, allocations: 0 / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.2979, allocations: 4 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2979, allocations: 4 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2979, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2979, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2979, allocations: 3.938 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.298, allocations: 171.9 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.2981, allocations: 85.05 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2981, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.2982, allocations: 4 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.2982, allocations: 11.98 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2982, allocations: 0 / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.2982, allocations: 83.28 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2983, allocations: 0 / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002937/0.2985, allocations: 39.86 kB / 1.171 GB, free: 2.191 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 (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.0006753/0.2992, allocations: 0.7712 MB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.2994, allocations: 35.92 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2994, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.2994, allocations: 19.94 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.2996, allocations: 5.859 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3007, allocations: 1.299 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3009, allocations: 0.6807 MB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.301, allocations: 0 / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.301, allocations: 11.44 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.301, allocations: 7.938 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.3179, allocations: 2.073 MB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.118, allocations: 14.05 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_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_Logit1DQuadratic.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y