Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 221.2 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.346/3.346, allocations: 0.49 GB / 0.7951 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 70.73 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3906, allocations: 176.1 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002558/0.3931, allocations: 0.8522 MB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3945, allocations: 0.8978 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.3946, allocations: 3.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.3947, allocations: 19.8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3948, allocations: 31.78 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.395, allocations: 39.95 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.3952, allocations: 139.6 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.3954, allocations: 37.81 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.3955, allocations: 59.72 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3956, allocations: 87.72 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.3956, allocations: 12 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/0.3957, allocations: 12 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.3957, allocations: 47.83 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.3958, allocations: 55.66 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.3961, allocations: 175.2 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3961, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3961, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3961, allocations: 3.938 kB / 1.328 GB, free: 14.94 MB / 1.029 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.001054/0.3971, allocations: 437.4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3972, allocations: 12.03 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.3972, allocations: 38.75 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3973, allocations: 16.84 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3975, allocations: 162.2 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3975, allocations: 8.375 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3975, allocations: 8.375 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.3981, allocations: 191.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3981, allocations: 3.938 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.3981, allocations: 4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3981, allocations: 4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007523/0.3989, allocations: 219.8 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009915/0.3999, allocations: 463.5 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.4003, allocations: 142.4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.4007, allocations: 116.8 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.4007, allocations: 3.938 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.4008, allocations: 38.69 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.4008, allocations: 0 / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001236/0.402, allocations: 361.4 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.402, allocations: 55.34 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.4022, allocations: 182.3 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.4022, allocations: 29.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.4023, allocations: 124.1 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.4024, allocations: 35.69 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.4024, allocations: 21.72 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4026, allocations: 322.8 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.4029, allocations: 103.9 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.4033, allocations: 103.9 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.404, allocations: 216.6 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.404, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007756/0.4047, allocations: 257.9 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4048, allocations: 11.94 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4048, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4048, allocations: 4.031 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.4051, allocations: 47.88 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4051, allocations: 3.938 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.4053, allocations: 43.89 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4054, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 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.0001259/0.4055, allocations: 130.4 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.4055, allocations: 11.91 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.4056, allocations: 25.39 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4056, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.4056, allocations: 3.938 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4056, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.4059, allocations: 200.7 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4059, allocations: 0 / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.4061, allocations: 47.89 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4061, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4062, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4062, allocations: 4 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4062, allocations: 7.922 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.407, allocations: 363.2 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.407, allocations: 11.91 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.407, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.4073, allocations: 31.95 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.4073, allocations: 23.91 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4073, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001205/0.4075, allocations: 127.1 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4075, allocations: 0 / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002621/0.4077, allocations: 35.89 kB / 1.333 GB, free: 9.938 MB / 1.029 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.001233/0.409, allocations: 0.8842 MB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007999/0.4098, allocations: 223.7 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4098, allocations: 0 / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.4101, allocations: 115.8 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.4105, allocations: 27.92 kB / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.4142, allocations: 2.143 MB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.4143, allocations: 114.6 kB / 1.336 GB, free: 6.316 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.196e-05/0.4144, allocations: 16.42 kB / 1.336 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4145, allocations: 47.36 kB / 1.336 GB, free: 6.254 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/0.4145, allocations: 4 kB / 1.336 GB, free: 6.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.447, allocations: 4.38 MB / 1.341 GB, free: 2.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 8.062 kB / 1.341 GB, free: 2.02 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.629723705002107]