Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.001122/0.001122, 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.001071/0.001071, allocations: 194.5 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 469.4 MB / 0.742 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 68.89 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3176, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002847/0.3205, allocations: 0.8793 MB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3221, allocations: 0.874 MB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.3223, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.3225, allocations: 23.8 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.3227, allocations: 27.78 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.3229, allocations: 43.88 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.3231, allocations: 131.6 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.3234, allocations: 57.3 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3235, allocations: 63.72 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3237, allocations: 87.72 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.3238, allocations: 12 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.387e-05/0.3238, allocations: 12 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.3239, allocations: 47.83 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.993e-05/0.324, allocations: 59.61 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3242, allocations: 171.6 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3243, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3243, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3243, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 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.001231/0.3255, allocations: 0.5026 MB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/0.3256, allocations: 8.031 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/0.3257, allocations: 38.75 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.3257, allocations: 16.75 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.326, allocations: 228.5 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.326, allocations: 8.312 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.3261, allocations: 12.38 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.3267, allocations: 175.5 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3267, allocations: 3.938 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.3267, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3267, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008003/0.3275, allocations: 219.8 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3286, allocations: 0.512 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.3291, allocations: 154.4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.3295, allocations: 118.4 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3295, allocations: 0 / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3295, allocations: 34.56 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3295, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001237/0.3308, allocations: 369.6 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.3308, allocations: 59.33 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.331, allocations: 178.9 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.331, allocations: 25.8 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.3311, allocations: 123.9 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.3312, allocations: 31.55 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.3312, allocations: 21.72 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3314, allocations: 330.8 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.3317, allocations: 103.9 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.3321, allocations: 107.8 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.3328, allocations: 212.6 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3329, allocations: 4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000795/0.3337, allocations: 257.2 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3337, allocations: 12 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3337, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3337, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.334, allocations: 43.94 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.334, allocations: 7.922 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.3342, allocations: 31.95 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3342, allocations: 8 kB / 1.07 GB, free: 7.934 MB / 0.8262 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.0001015/0.3344, allocations: 133.7 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.3344, allocations: 15.81 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.3344, allocations: 25.33 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3345, allocations: 4 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3345, allocations: 3.938 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3345, allocations: 288 / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3347, allocations: 245.5 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3347, allocations: 0 / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.335, allocations: 55.88 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.335, allocations: 0 / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.335, allocations: 0 / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.335, allocations: 4 kB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.335, allocations: 3.938 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.3359, allocations: 351.1 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.3359, allocations: 96.89 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3359, allocations: 8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3362, allocations: 31.95 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.3362, allocations: 15.92 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3363, allocations: 4 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.268e-05/0.3364, allocations: 136.3 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3364, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002573/0.3366, allocations: 31.94 kB / 1.071 GB, free: 6.699 MB / 0.8262 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.001195/0.3378, allocations: 0.8902 MB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008102/0.3387, allocations: 235.6 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3387, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.3391, allocations: 112.3 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3394, allocations: 32.05 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.3429, allocations: 2.131 MB / 1.074 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3431, allocations: 0.7197 MB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.3433, allocations: 24.41 kB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.3434, allocations: 47.42 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.3434, allocations: 0 / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.3641, allocations: 3.589 MB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/7.982, allocations: 9.25 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches