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.006188/0.006188, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001189/0.001189, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 71.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8355, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002012/0.8376, allocations: 0.871 MB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.8386, allocations: 0.8741 MB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.8387, allocations: 6.062 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.8388, allocations: 20.14 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.839, allocations: 27.19 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.8391, allocations: 41.62 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.8393, allocations: 131.6 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.8395, allocations: 58.98 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.8396, allocations: 56.95 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.8397, allocations: 89.66 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.8397, allocations: 12.84 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.8398, allocations: 12.62 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.8398, allocations: 41.75 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.8399, allocations: 63.69 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.8402, allocations: 173.3 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8402, allocations: 0 / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8402, allocations: 4.594 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.8402, allocations: 4 kB / 1.09 GB, free: 3.699 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.0009158/0.8411, allocations: 0.4951 MB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.8412, allocations: 13.72 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.8412, allocations: 43.98 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.8412, allocations: 16.56 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.8414, allocations: 220.4 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.8414, allocations: 4.844 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.8415, allocations: 9.812 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.842, allocations: 185.8 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.842, allocations: 3.938 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.8421, allocations: 4 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.8421, allocations: 3.422 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008198/0.8429, allocations: 224.7 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.8439, allocations: 0.5133 MB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.8444, allocations: 145.8 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.8448, allocations: 119.1 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.8449, allocations: 5.328 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.8449, allocations: 40.16 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.8449, allocations: 1 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001327/0.8462, allocations: 362.5 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.8463, allocations: 56.81 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.8464, allocations: 178.9 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.8465, allocations: 26.45 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.8465, allocations: 120.6 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.8466, allocations: 30.17 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.8466, allocations: 21.5 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.8467, allocations: 327.6 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.8471, allocations: 105.4 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.8475, allocations: 101.4 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.8483, allocations: 222 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8483, allocations: 0.5938 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008591/0.8492, allocations: 253.4 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.8492, allocations: 5.984 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8492, allocations: 4.688 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.8492, allocations: 0.8438 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.8495, allocations: 50.14 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.8495, allocations: 4.594 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.8498, allocations: 31.39 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.8498, allocations: 2.094 kB / 1.094 GB, free: 1.418 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 8.448e-05/0.8499, allocations: 131.1 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.8499, allocations: 15.09 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.85, allocations: 22.95 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.85, allocations: 2.141 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.85, allocations: 4.75 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.85, allocations: 0.7969 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.8502, allocations: 250.7 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8503, allocations: 0 / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.8506, allocations: 50.06 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8506, allocations: 1.578 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.8506, allocations: 4.656 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8506, allocations: 0.6875 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8506, allocations: 4.625 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000879/0.8515, allocations: 359 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.8515, allocations: 93.19 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.8516, allocations: 9.703 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.8518, allocations: 33.94 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.8519, allocations: 17.25 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.8519, allocations: 1.625 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001097/0.852, allocations: 137.8 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.852, allocations: 0 / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002673/0.8523, allocations: 22.5 kB / 1.095 GB, free: 0.625 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.00119/0.8535, allocations: 0.8916 MB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000886/0.8544, allocations: 222.3 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8544, allocations: 4.844 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.8549, allocations: 119.1 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.8552, allocations: 26.94 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.8594, allocations: 2.155 MB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.8599, allocations: 0.7239 MB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.86, allocations: 21.64 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.8601, allocations: 44.28 kB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.8601, allocations: 0 / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.8834, allocations: 3.648 MB / 1.103 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.77, allocations: 8.938 kB / 1.103 GB, free: 13.12 MB / 0.8731 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