Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.001305/0.001305, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.535/2.535, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 75.88 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5639/0.5653, allocations: 151.6 MB / 1.017 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002526/0.5679, allocations: 1.207 MB / 1.019 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000823/0.5687, allocations: 442.5 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.5688, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.5688, allocations: 7.938 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.5689, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.5694, allocations: 103.6 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.5695, allocations: 19.92 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.5695, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.5696, allocations: 11.92 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.5696, allocations: 7.984 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.5696, allocations: 8 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.5699, allocations: 99.89 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.5699, allocations: 7.938 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.5699, allocations: 7.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.5701, allocations: 91.8 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5702, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5702, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.5702, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 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.00049/0.5707, allocations: 387.5 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5707, allocations: 12.03 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.5708, allocations: 30.75 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.5708, allocations: 8.844 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.5709, allocations: 164.4 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.571, allocations: 384 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.571, allocations: 8.359 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.5711, allocations: 46.19 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5711, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5711, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.5711, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.5712, allocations: 11.98 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.5715, allocations: 248.9 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.5716, allocations: 30.52 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.5716, allocations: 20.94 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.5717, allocations: 7.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.5718, allocations: 59.41 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.5718, allocations: 3.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002126/0.5721, allocations: 73.58 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.5721, allocations: 55.41 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.5722, allocations: 105.8 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5722, allocations: 29.7 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.5722, allocations: 84.14 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.5723, allocations: 15.89 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.5723, allocations: 21.7 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5724, allocations: 310.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.5725, allocations: 16.23 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.5725, allocations: 31.44 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.5726, allocations: 55.36 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5726, allocations: 7.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001038/0.5727, allocations: 69.77 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5727, allocations: 5.875 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5727, allocations: 48 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5728, allocations: 11.92 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.5728, allocations: 15.92 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.5728, allocations: 4.062 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.5729, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.5729, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 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 7.26e-05/0.573, allocations: 117.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.573, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.573, allocations: 11.56 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.573, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.573, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.573, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.5733, allocations: 310.4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5733, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.5733, allocations: 7.984 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5733, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.5734, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5734, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5734, allocations: 160 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.5735, allocations: 159.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.5736, allocations: 85.09 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.5736, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.5736, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.5737, allocations: 8 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5737, allocations: 8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.5737, allocations: 87.27 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5737, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002856/0.574, allocations: 27.94 kB / 1.022 GB, free: 13.51 MB / 0.7794 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.0006493/0.5747, allocations: 0.7698 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.5748, allocations: 36.16 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5748, allocations: 4 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.5749, allocations: 20.05 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.5751, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.576, allocations: 1.265 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.5762, allocations: 0.6807 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.779e-05/0.5763, allocations: 4 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.5763, allocations: 15.44 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5763, allocations: 0 / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.5942, allocations: 1.974 MB / 1.027 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/8.154, allocations: 7.938 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_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_Logit1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y