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.005048/0.005048, allocations: 95.05 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.001237/0.001237, allocations: 205.6 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 1.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.468/2.468, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2732, allocations: 151.6 MB / 1.166 GB, free: 7.207 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001908/0.2751, allocations: 0.8776 MB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.276, allocations: 0.8818 MB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.2761, allocations: 4 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.474e-05/0.2762, allocations: 19.8 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.779e-05/0.2763, allocations: 23.73 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.2764, allocations: 43.94 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.2766, allocations: 131.6 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.2767, allocations: 65.25 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.2768, allocations: 47.84 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2769, allocations: 91.66 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.277, allocations: 12 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.277, allocations: 12 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.2771, allocations: 43.89 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.2771, allocations: 59.61 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.2773, allocations: 179.4 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2773, allocations: 4 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2773, allocations: 0 / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2774, allocations: 4 kB / 1.169 GB, free: 4.695 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.0008432/0.2782, allocations: 0.5064 MB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.2782, allocations: 8.031 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.2783, allocations: 38.75 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.2783, allocations: 20.8 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.2785, allocations: 228 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2785, allocations: 8.375 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.2786, allocations: 4.375 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.2791, allocations: 184 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.2791, allocations: 7.875 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2791, allocations: 0 / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2791, allocations: 4 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.2799, allocations: 223.8 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.2807, allocations: 0.5043 MB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.2812, allocations: 154.4 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.2815, allocations: 116.8 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2816, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2816, allocations: 38.56 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 8.81e-07/0.2816, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.001142/0.2827, allocations: 369.5 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.2828, allocations: 55.34 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2829, allocations: 183.7 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2829, allocations: 25.7 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.283, allocations: 124 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.2831, allocations: 31.73 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.2831, allocations: 25.66 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2832, allocations: 326.8 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.2836, allocations: 103.9 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.284, allocations: 107.8 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/0.2847, allocations: 208.6 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2847, allocations: 7.984 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007551/0.2854, allocations: 257.3 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.2854, allocations: 8 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.2855, allocations: 0 / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2855, allocations: 0 / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.2857, allocations: 43.94 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2857, allocations: 7.938 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2859, allocations: 27.95 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2859, allocations: 12 kB / 1.173 GB, free: 0.5508 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 9.312e-05/0.286, allocations: 125.8 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.2861, allocations: 19.91 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.2861, allocations: 21.39 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2861, allocations: 3.938 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2861, allocations: 3.938 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.2861, allocations: 0 / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.2864, allocations: 253.4 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2864, allocations: 4.266 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.2866, allocations: 47.95 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2866, allocations: 0 / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2867, allocations: 7.938 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2867, allocations: 0 / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2867, allocations: 3.938 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.2875, allocations: 351.2 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.2875, allocations: 92.98 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.2876, allocations: 8 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.2878, allocations: 31.95 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.2878, allocations: 15.92 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.2879, allocations: 4 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.507e-05/0.288, allocations: 132.4 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.288, allocations: 0 / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002237/0.2882, allocations: 31.95 kB / 1.174 GB, free: 15.32 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.001099/0.2893, allocations: 0.8957 MB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007521/0.2901, allocations: 219.8 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2901, allocations: 0 / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.2904, allocations: 116.2 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.2907, allocations: 39.98 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.2939, allocations: 2.142 MB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.2943, allocations: 0.7275 MB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.2943, allocations: 28.41 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.2944, allocations: 39.42 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.2944, allocations: 0 / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.803/2.098, allocations: 3.647 MB / 1.181 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/12.44, allocations: 8 kB / 1.181 GB, free: 7.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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