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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001183/0.001183, allocations: 192.2 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 62.48 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2735, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001961/0.2755, allocations: 0.9158 MB / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009135/0.2764, allocations: 0.8936 MB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.2765, allocations: 3.938 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2766, allocations: 19.86 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.597e-05/0.2767, allocations: 11.92 kB / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.2769, allocations: 47.94 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.277, allocations: 123.7 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2771, allocations: 45.08 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.2772, allocations: 55.77 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.2773, allocations: 79.66 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.2774, allocations: 8 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.196e-05/0.2774, allocations: 8 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.2775, allocations: 23.91 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.2775, allocations: 59.7 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.2777, allocations: 127.5 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2777, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2777, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2777, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 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.0007667/0.2785, allocations: 447.2 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2785, allocations: 11.97 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.2786, allocations: 42.75 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.009e-05/0.2786, allocations: 16.75 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.2788, allocations: 209.6 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2788, allocations: 12.12 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2789, allocations: 4 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.2793, allocations: 145.6 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2793, allocations: 0 / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.2793, allocations: 3.984 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2793, allocations: 8 kB / 1.055 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.2798, allocations: 151.8 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.2805, allocations: 432.3 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/0.2813, allocations: 174.4 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.2816, allocations: 84.95 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2816, allocations: 0 / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2816, allocations: 38.56 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.2816, allocations: 0 / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0009/0.2825, allocations: 285.2 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2826, allocations: 51.41 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.2827, allocations: 152.3 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2828, allocations: 29.7 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.2828, allocations: 108 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.2829, allocations: 27.56 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.2829, allocations: 29.7 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2831, allocations: 322.8 kB / 1.057 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.2833, allocations: 79.86 kB / 1.057 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.2836, allocations: 75.92 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.2841, allocations: 156.7 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2841, allocations: 0 / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000567/0.2847, allocations: 205.3 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2847, allocations: 4 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2847, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2847, allocations: 0.6562 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.285, allocations: 43.95 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.285, allocations: 4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.2851, allocations: 27.81 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.2852, allocations: 7.984 kB / 1.058 GB, free: 2.172 MB / 0.8106 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.266e-05/0.2853, allocations: 121.8 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.2853, allocations: 11.84 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.2854, allocations: 24.64 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2854, allocations: 4 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2854, allocations: 0 / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2854, allocations: 3.938 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.2857, allocations: 233.6 kB / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2857, allocations: 0 / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.2859, allocations: 39.89 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2859, allocations: 0 / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2859, allocations: 3.984 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2859, allocations: 4 kB / 1.058 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2859, allocations: 0 / 1.058 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.2865, allocations: 303.1 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.2866, allocations: 88.95 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2866, allocations: 0 / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2868, allocations: 27.97 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.2869, allocations: 27.95 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2869, allocations: 11.94 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.792e-05/0.287, allocations: 112.9 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.287, allocations: 0 / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002348/0.2872, allocations: 27.94 kB / 1.059 GB, free: 1.055 MB / 0.8106 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.0009152/0.2882, allocations: 0.8449 MB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.2887, allocations: 171.9 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2887, allocations: 4 kB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.289, allocations: 91.91 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.2893, allocations: 17.2 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.2919, allocations: 1.866 MB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.2922, allocations: 0.7043 MB / 1.062 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.2923, allocations: 20.42 kB / 1.062 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.2924, allocations: 43.41 kB / 1.062 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2924, allocations: 0 / 1.062 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.171/0.4634, allocations: 3.323 MB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.4637, allocations: 205 kB / 1.066 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.088, allocations: 0 / 1.066 GB, free: 9.711 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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