Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_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.008104/0.008104, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.002193/0.002194, allocations: 197.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.366/2.366, 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 10.1.1-maint.10.0.x/package.mo): time 2.932/2.932, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0172/0.0172, allocations: 71.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.263, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.01394/1.277, allocations: 0.8854 MB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002438/1.279, allocations: 0.8818 MB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/1.28, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/1.28, allocations: 19.81 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/1.28, allocations: 31.72 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/1.28, allocations: 35.94 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/1.281, allocations: 135.6 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/1.281, allocations: 57.33 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/1.281, allocations: 51.84 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/1.282, allocations: 95.58 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/1.282, allocations: 12 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.795e-05/1.282, allocations: 12 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/1.282, allocations: 43.89 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/1.282, allocations: 63.61 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006202/1.283, allocations: 179.4 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/1.283, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.721e-06/1.283, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.497e-05/1.283, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 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.006659/1.29, allocations: 0.5064 MB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001166/1.29, allocations: 8.031 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/1.29, allocations: 42.75 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/1.29, allocations: 24.8 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/1.291, allocations: 216.1 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/1.291, allocations: 12.31 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/1.291, allocations: 12.38 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/1.292, allocations: 176.1 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/1.292, allocations: 3.938 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/1.292, allocations: 12 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/1.292, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005617/1.298, allocations: 227.8 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/1.3, allocations: 0.4965 MB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/1.3, allocations: 150.4 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/1.301, allocations: 124.9 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/1.301, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.301, allocations: 30.56 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 2.665e-06/1.301, allocations: 0 / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.00204/1.303, allocations: 365.4 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.303, allocations: 63.34 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/1.304, allocations: 179.4 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/1.304, allocations: 33.7 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/1.304, allocations: 120.3 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/1.304, allocations: 35.72 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/1.304, allocations: 21.72 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002622/1.305, allocations: 326.8 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004686/1.309, allocations: 111.8 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/1.31, allocations: 99.89 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/1.311, allocations: 212.6 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.311, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005764/1.317, allocations: 261.3 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/1.317, allocations: 10.03 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.317, allocations: 0 / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.463e-05/1.317, allocations: 0 / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/1.318, allocations: 47.94 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.141e-05/1.318, allocations: 3.938 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/1.318, allocations: 35.95 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/1.318, allocations: 0 / 1.172 GB, free: 0.5898 MB / 0.92 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.0006236/1.319, allocations: 129.8 kB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/1.319, allocations: 15.91 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/1.32, allocations: 29.33 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.32, allocations: 4 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/1.32, allocations: 3.938 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/1.32, allocations: 0 / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.321, allocations: 253.4 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.321, allocations: 3.984 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004475/1.325, allocations: 39.95 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.325, allocations: 4.281 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/1.325, allocations: 0 / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.325, allocations: 0 / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.325, allocations: 7.875 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/1.328, allocations: 355.2 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/1.328, allocations: 93 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/1.328, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/1.329, allocations: 35.95 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/1.329, allocations: 23.92 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/1.329, allocations: 0 / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003195/1.329, allocations: 136.4 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.61e-07/1.329, allocations: 0 / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000547/1.33, allocations: 23.95 kB / 1.174 GB, free: 15.36 MB / 0.9356 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.01136/1.341, allocations: 0.8918 MB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001948/1.343, allocations: 223.7 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.343, allocations: 0 / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008189/1.344, allocations: 123.8 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008588/1.345, allocations: 32.36 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/1.362, allocations: 2.137 MB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/1.364, allocations: 0.7391 MB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003431/1.365, allocations: 20.41 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004308/1.369, allocations: 47.42 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.404e-06/1.369, allocations: 0 / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1799/1.549, allocations: 3.643 MB / 1.181 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.86, allocations: 8.641 kB / 1.181 GB, free: 7.477 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches