Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001416/0.001416, 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.00158/0.00158, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 66.28 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.267, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001978/0.269, allocations: 0.8552 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.27, allocations: 0.8951 MB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.2701, allocations: 4 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.016e-05/0.2702, allocations: 15.8 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.2703, allocations: 15.86 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.2705, allocations: 59.86 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.2706, allocations: 123.7 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2708, allocations: 49.03 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.2709, allocations: 59.81 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.271, allocations: 79.72 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.271, allocations: 12 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.481e-05/0.2711, allocations: 16 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.2711, allocations: 35.78 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.2712, allocations: 55.72 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.2714, allocations: 139.5 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2714, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2714, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2714, allocations: 0 / 1.066 GB, free: 12.12 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007338/0.2721, allocations: 443.2 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2722, allocations: 12.03 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.2722, allocations: 42.73 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.2723, allocations: 12.75 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.2724, allocations: 205.8 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2725, allocations: 16.12 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.2725, allocations: 4 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.2729, allocations: 151.1 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2729, allocations: 4 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2729, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2729, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.2735, allocations: 159.8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.2741, allocations: 420.3 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/0.2749, allocations: 178.6 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.2752, allocations: 84.86 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.2752, allocations: 7.984 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2753, allocations: 34.5 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.2753, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0009276/0.2762, allocations: 277.2 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.2763, allocations: 55.39 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2764, allocations: 153.2 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2764, allocations: 33.7 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.2765, allocations: 103.9 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.2765, allocations: 28.02 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.2766, allocations: 29.7 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.2767, allocations: 322.8 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.277, allocations: 75.92 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.2772, allocations: 75.86 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.2778, allocations: 160.7 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2778, allocations: 4 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005785/0.2784, allocations: 205.4 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2784, allocations: 4 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2784, allocations: 0 / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2784, allocations: 3.938 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.2786, allocations: 39.95 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2787, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.2788, allocations: 31.81 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.2789, allocations: 4 kB / 1.069 GB, free: 8.566 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.49e-05/0.279, allocations: 123.6 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.279, allocations: 11.84 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.279, allocations: 16.72 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.279, allocations: 4 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2791, allocations: 0 / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2791, allocations: 0 / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.2793, allocations: 241.5 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2793, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.2795, allocations: 43.83 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2795, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2796, allocations: 288 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2796, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2796, allocations: 11.94 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.2802, allocations: 299.2 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.2802, allocations: 92.94 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.2803, allocations: 8 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.2805, allocations: 19.97 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.2806, allocations: 27.97 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2806, allocations: 4 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.2807, allocations: 115.2 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2807, allocations: 0 / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002395/0.2809, allocations: 23.94 kB / 1.07 GB, free: 7.453 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009069/0.2818, allocations: 0.8512 MB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005778/0.2824, allocations: 179.8 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2824, allocations: 0 / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.2827, allocations: 99.84 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.283, allocations: 20.56 kB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.2857, allocations: 1.83 MB / 1.073 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.2859, allocations: 0.7046 MB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.286, allocations: 20.42 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2861, allocations: 43.41 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.2862, allocations: 7.938 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.3055, allocations: 3.757 MB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.502, allocations: 15.73 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches