Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",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.001219/0.001219, 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.001672/0.001672, allocations: 196.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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.489/2.489, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 60.05 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6119/0.6134, allocations: 151.6 MB / 1.017 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002332/0.6157, allocations: 0.6962 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.6167, allocations: 0.804 MB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.6168, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.6168, allocations: 3.938 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.6169, allocations: 7.938 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.106e-05/0.617, allocations: 11.98 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.6171, allocations: 43.86 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.6172, allocations: 11.92 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.6173, allocations: 19.98 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.6173, allocations: 19.91 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.6174, allocations: 7.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.6174, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.6174, allocations: 7.984 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.6174, allocations: 15.94 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.627e-05/0.6175, allocations: 47.81 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6175, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6175, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.6176, allocations: 0 / 1.019 GB, free: 0.8906 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.0005134/0.6181, allocations: 365.5 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6181, allocations: 12.03 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.6182, allocations: 34.75 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.6182, allocations: 0.9375 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.6183, allocations: 176.3 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.6183, allocations: 4.312 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.6184, allocations: 4.375 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.6186, allocations: 70.16 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6186, allocations: 7.922 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.6186, allocations: 0 / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6187, allocations: 4 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.619, allocations: 67.92 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.6193, allocations: 272.9 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.6195, allocations: 54.48 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.6197, allocations: 48.91 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.6197, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.6197, allocations: 30.56 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.6198, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005496/0.6203, allocations: 133.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.6204, allocations: 51.41 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.6205, allocations: 121.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.6205, allocations: 25.7 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.6205, allocations: 80.14 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.6206, allocations: 15.84 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.6206, allocations: 13.72 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6207, allocations: 322.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.6209, allocations: 27.97 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.621, allocations: 31.95 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.6213, allocations: 72.73 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6213, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003111/0.6216, allocations: 101.5 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6217, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6217, allocations: 3.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.6217, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.6218, allocations: 19.92 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.6218, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.6219, allocations: 11.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.6219, allocations: 0 / 1.021 GB, free: 14.51 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 8.093e-05/0.622, allocations: 121.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.622, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.6221, allocations: 7.906 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.6221, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6221, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6221, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.6223, allocations: 173.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6223, allocations: 336 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-05/0.6224, allocations: 15.97 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6224, allocations: 7.938 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.6224, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6224, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6224, allocations: 320 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.6228, allocations: 203.3 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.6228, allocations: 81.09 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.6228, allocations: 4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.6229, allocations: 11.98 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.623, allocations: 12 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.623, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.6231, allocations: 91.25 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6231, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002162/0.6233, allocations: 8 kB / 1.022 GB, free: 13.68 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.0006716/0.624, allocations: 0.7318 MB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.6243, allocations: 71.86 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6243, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.6245, allocations: 35.97 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.6248, allocations: 13.12 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.6253, allocations: 155.3 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.6255, allocations: 0.6846 MB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.6255, allocations: 11.88 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.6256, allocations: 11.44 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6256, allocations: 0 / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.6431, allocations: 1.589 MB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.643, allocations: 12.77 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_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_Subtract.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches