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.008541/0.008541, allocations: 100.9 kB / 15.73 MB, free: 6.047 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.00123/0.00123, allocations: 198.8 kB / 16.67 MB, free: 5.977 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.772/2.772, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 75.91 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2917, allocations: 151.6 MB / 1.166 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002175/0.2939, allocations: 0.8837 MB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2952, allocations: 0.878 MB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.2953, allocations: 3.938 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.2954, allocations: 23.8 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2956, allocations: 27.72 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.2958, allocations: 35.95 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.296, allocations: 139.6 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2962, allocations: 49.34 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2963, allocations: 59.81 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2965, allocations: 87.67 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.2965, allocations: 12 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.891e-05/0.2966, allocations: 15.94 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.2966, allocations: 43.89 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.2967, allocations: 63.59 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.297, allocations: 178.2 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.297, allocations: 0 / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.297, allocations: 0 / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.297, allocations: 0 / 1.169 GB, free: 4.699 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.001049/0.2981, allocations: 0.4995 MB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.2981, allocations: 8.031 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.2982, allocations: 42.73 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.2982, allocations: 16.75 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.2985, allocations: 223.9 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2985, allocations: 4.375 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.2985, allocations: 8.375 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.2991, allocations: 190 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2991, allocations: 3.938 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2991, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2991, allocations: 7.938 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.2998, allocations: 221.9 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.3008, allocations: 0.5158 MB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.3012, allocations: 150.5 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.3016, allocations: 116.7 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3016, allocations: 4 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3016, allocations: 30.56 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3017, allocations: 0 / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.00119/0.3029, allocations: 373.2 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3029, allocations: 55.34 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3031, allocations: 183.4 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3031, allocations: 25.7 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.3032, allocations: 120 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.3032, allocations: 27.56 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.3033, allocations: 29.66 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3034, allocations: 326.8 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.3038, allocations: 99.89 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.3041, allocations: 103.9 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.3047, allocations: 216.6 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3047, allocations: 0 / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007039/0.3055, allocations: 265.2 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3055, allocations: 4.656 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3055, allocations: 0 / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3055, allocations: 0 / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.3058, allocations: 39.95 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3058, allocations: 3.938 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.306, allocations: 47.81 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.306, allocations: 4 kB / 1.172 GB, free: 0.5586 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 0.0001055/0.3061, allocations: 129.8 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.3062, allocations: 15.81 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.3062, allocations: 21.41 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3062, allocations: 0 / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3062, allocations: 3.938 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3062, allocations: 3.938 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.3065, allocations: 249.5 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3065, allocations: 4 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3067, allocations: 43.95 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3068, allocations: 0 / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3068, allocations: 3.984 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3068, allocations: 4 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3068, allocations: 3.938 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.3076, allocations: 351.1 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.3076, allocations: 88.92 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3077, allocations: 8 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.3079, allocations: 31.95 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.3079, allocations: 15.92 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.308, allocations: 7.938 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000111/0.3081, allocations: 132.4 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3081, allocations: 0 / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000252/0.3083, allocations: 31.94 kB / 1.174 GB, free: 15.34 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.001141/0.3095, allocations: 0.8917 MB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007234/0.3102, allocations: 227.8 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3102, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.3106, allocations: 111.9 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3109, allocations: 34.11 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.3143, allocations: 2.146 MB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3147, allocations: 0.7236 MB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.3148, allocations: 28.41 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.3149, allocations: 39.42 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.3149, allocations: 0 / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.3379, allocations: 3.647 MB / 1.181 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.837, allocations: 14.52 kB / 1.181 GB, free: 7.457 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=50 --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