Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.01055/0.01055, allocations: 97.62 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.001923/0.001923, allocations: 202.4 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 2.481/2.481, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.458/4.458, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 65.25 kB / 0.9505 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.5229, allocations: 140.4 MB / 1.088 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.00349/0.5265, allocations: 0.8735 MB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.5286, allocations: 0.874 MB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.5287, allocations: 4 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.529, allocations: 19.8 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.5293, allocations: 23.8 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.5295, allocations: 35.95 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.5299, allocations: 147.6 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.5303, allocations: 57.27 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.5305, allocations: 63.7 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.5308, allocations: 75.73 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.496e-05/0.5309, allocations: 16 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-05/0.531, allocations: 12 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.5311, allocations: 47.83 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.5312, allocations: 67.59 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.5317, allocations: 175.5 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.5317, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5317, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.5317, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 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.001706/0.5334, allocations: 0.5102 MB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001018/0.5336, allocations: 8.031 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.285e-05/0.5337, allocations: 42.73 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.5338, allocations: 16.84 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.5342, allocations: 216 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.5343, allocations: 8.375 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.5343, allocations: 8.375 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5353, allocations: 186 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.5354, allocations: 3.938 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.5354, allocations: 11.98 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.5355, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5368, allocations: 223.7 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.5388, allocations: 0.5043 MB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/0.5396, allocations: 150.5 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.5403, allocations: 116.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.5403, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.5405, allocations: 30.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 3.016e-06/0.5405, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.002159/0.5427, allocations: 361.6 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.5428, allocations: 59.34 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.5432, allocations: 176 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.5433, allocations: 29.7 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.5434, allocations: 127.9 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.5435, allocations: 27.75 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.5436, allocations: 33.64 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.5438, allocations: 322.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/0.5445, allocations: 99.89 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.5451, allocations: 107.9 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.5463, allocations: 212.6 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5463, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001493/0.5478, allocations: 261.3 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.5479, allocations: 8 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5479, allocations: 0 / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/0.548, allocations: 0 / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.5485, allocations: 43.89 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.5485, allocations: 3.938 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.5489, allocations: 47.89 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.5489, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 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.0002397/0.5491, allocations: 129.8 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.5492, allocations: 11.91 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.5493, allocations: 21.41 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5493, allocations: 4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.5494, allocations: 3.938 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5494, allocations: 3.984 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.5499, allocations: 249.5 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5499, allocations: 4.281 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.5503, allocations: 43.95 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.5503, allocations: 3.984 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.5503, allocations: 3.938 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5503, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5503, allocations: 7.875 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.5517, allocations: 355.2 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.5518, allocations: 89.02 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.5519, allocations: 7.938 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.5523, allocations: 35.95 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.5524, allocations: 19.91 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.5525, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001728/0.5526, allocations: 136.2 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5527, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000505/0.5532, allocations: 24 kB / 1.095 GB, free: 10.15 MB / 0.8575 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.00187/0.5551, allocations: 0.8957 MB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.5565, allocations: 227.7 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.5566, allocations: 0 / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.5572, allocations: 108.3 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.5578, allocations: 47.72 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006044/0.5639, allocations: 2.144 MB / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.5644, allocations: 0.728 MB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.5646, allocations: 20.42 kB / 1.099 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5648, allocations: 39.42 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of SimCode: time 1.543e-06/0.5648, allocations: 4 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/0.6034, allocations: 3.655 MB / 1.103 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.21, allocations: 7.969 kB / 1.103 GB, free: 2.27 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches