Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",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.004614/0.004614, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001334/0.001334, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.34 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2718, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001912/0.2737, allocations: 0.8938 MB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.2747, allocations: 0.8741 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.2748, allocations: 4 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.549e-05/0.2749, allocations: 11.81 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.275, allocations: 27.73 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.2751, allocations: 43.94 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.2753, allocations: 135.6 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2755, allocations: 57.33 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.2755, allocations: 55.77 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2757, allocations: 83.72 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.2757, allocations: 12 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.2757, allocations: 16 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.2758, allocations: 47.84 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.2759, allocations: 63.59 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.2761, allocations: 175.2 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2761, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2761, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2761, allocations: 4 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009331/0.2771, allocations: 0.5102 MB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2771, allocations: 8.031 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.2772, allocations: 38.75 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.2772, allocations: 20.8 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2774, allocations: 224 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2774, allocations: 8.375 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2775, allocations: 8.375 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.278, allocations: 180 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.278, allocations: 3.938 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.2781, allocations: 4 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2781, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008329/0.2789, allocations: 219.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.2799, allocations: 0.5081 MB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.2804, allocations: 154.4 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.2808, allocations: 116.7 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2809, allocations: 4 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2809, allocations: 34.56 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2809, allocations: 0 / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001308/0.2822, allocations: 365.5 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.2823, allocations: 55.34 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2825, allocations: 183.2 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2825, allocations: 29.7 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.2826, allocations: 128 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.2826, allocations: 31.73 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.2827, allocations: 21.66 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2828, allocations: 322.8 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.2832, allocations: 107.9 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.2836, allocations: 107.8 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.2844, allocations: 212.6 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2844, allocations: 0 / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008576/0.2853, allocations: 265.9 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2853, allocations: 4 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2853, allocations: 0 / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.2853, allocations: 0 / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.2856, allocations: 43.94 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2857, allocations: 11.94 kB / 1.226 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.2859, allocations: 32.05 kB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.2859, allocations: 7.938 kB / 1.226 GB, free: 7.574 MB / 0.9825 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 (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 0.0001107/0.286, allocations: 125.8 kB / 1.227 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.286, allocations: 19.84 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.2861, allocations: 21.39 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2861, allocations: 0 / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2861, allocations: 7.938 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2861, allocations: 0 / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.2864, allocations: 253.5 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2864, allocations: 3.984 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.2867, allocations: 43.94 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2867, allocations: 0 / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2867, allocations: 4 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2867, allocations: 0 / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2867, allocations: 7.938 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009052/0.2877, allocations: 359.2 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.2877, allocations: 92.95 kB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.2878, allocations: 3.984 kB / 1.227 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.288, allocations: 27.95 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.2881, allocations: 19.92 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2881, allocations: 4 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001094/0.2882, allocations: 132.3 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.964e-06/0.2882, allocations: 4 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002509/0.2885, allocations: 31.94 kB / 1.228 GB, free: 6.34 MB / 0.9825 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 (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 Backend phase and start with SimCode phase: time 0.001244/0.2897, allocations: 0.8846 MB / 1.228 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008655/0.2906, allocations: 231.8 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2906, allocations: 0 / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.291, allocations: 119.8 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2914, allocations: 37.62 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.295, allocations: 2.149 MB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.2953, allocations: 0.7275 MB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.164e-05/0.2954, allocations: 24.41 kB / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/0.2955, allocations: 39.42 kB / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2955, allocations: 480 / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.3183, allocations: 3.642 MB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.926, allocations: 13.73 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches