Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.001241/0.001241, allocations: 108 kB / 15.6 MB, free: 132 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.001273/0.001273, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.442/2.442, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.5607, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001915/0.5627, allocations: 0.7081 MB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.5635, allocations: 0.8001 MB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.5636, allocations: 3.938 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.5636, allocations: 7.938 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.753e-05/0.5637, allocations: 3.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.571e-05/0.5638, allocations: 7.984 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.5639, allocations: 59.77 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.564, allocations: 12 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.564, allocations: 15.98 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.5641, allocations: 23.86 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.5641, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.5641, allocations: 4 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.5641, allocations: 7.984 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.5642, allocations: 15.94 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.958e-05/0.5643, allocations: 47.78 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5643, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5643, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.5643, allocations: 0 / 1.019 GB, free: 0.7695 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000459/0.5648, allocations: 365.5 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5648, allocations: 8.031 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.5648, allocations: 34.75 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.5649, allocations: 4.938 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.565, allocations: 172.2 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.565, allocations: 4.375 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.565, allocations: 384 / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.5652, allocations: 74.22 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.5653, allocations: 3.938 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.5653, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5653, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.5656, allocations: 63.92 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.5659, allocations: 272.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.5661, allocations: 58.53 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.5663, allocations: 36.92 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.5663, allocations: 8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5663, allocations: 30.56 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5663, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005182/0.5668, allocations: 133.4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.5669, allocations: 55.41 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/0.567, allocations: 113.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.567, allocations: 25.7 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.567, allocations: 84.14 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.5671, allocations: 11.84 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.5671, allocations: 17.7 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.5672, allocations: 314.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.5673, allocations: 35.91 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.5675, allocations: 31.95 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.5678, allocations: 72.72 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5678, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003191/0.5681, allocations: 105.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5681, allocations: 7.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5681, allocations: 7.984 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.5681, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.5683, allocations: 15.98 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.5683, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.5684, allocations: 23.97 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.5684, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.366e-05/0.5684, allocations: 113.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.5685, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.5688, allocations: 109.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5688, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5688, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.5688, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.569, allocations: 181.5 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.569, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.5691, allocations: 11.98 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5691, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5691, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.5691, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5691, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.5695, allocations: 199.4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.5695, allocations: 77.11 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.5695, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.5697, allocations: 11.98 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.5697, allocations: 15.92 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.5697, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.5698, allocations: 83.28 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5698, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002307/0.57, allocations: 11.91 kB / 1.022 GB, free: 13.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000653/0.5707, allocations: 0.728 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.571, allocations: 75.86 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.571, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.5712, allocations: 39.95 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.5715, allocations: 9.812 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.5719, allocations: 155.2 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.5722, allocations: 0.6845 MB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.5722, allocations: 4 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.5723, allocations: 15.44 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5723, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.5887, allocations: 1.588 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/7.382, allocations: 13.05 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_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_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches