Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.009254/0.009254, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002085/0.002085, allocations: 188.6 kB / 16.67 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 72.11 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3819, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002906/0.3848, allocations: 0.8904 MB / 1.208 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3863, allocations: 0.8663 MB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.3865, allocations: 0 / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.3866, allocations: 19.8 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.3869, allocations: 31.72 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.387, allocations: 43.88 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.3873, allocations: 139.6 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3875, allocations: 57.33 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.3876, allocations: 59.77 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3878, allocations: 79.72 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.3879, allocations: 12 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.91e-05/0.3879, allocations: 16 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.388, allocations: 43.84 kB / 1.21 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.3881, allocations: 71.59 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.3883, allocations: 175.6 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3883, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3883, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3883, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 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.001095/0.3894, allocations: 0.5025 MB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3895, allocations: 12.62 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.872e-05/0.3896, allocations: 46.75 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.3896, allocations: 20.66 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3899, allocations: 220.4 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3899, allocations: 8.375 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.39, allocations: 8.375 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.3905, allocations: 174.1 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3906, allocations: 7.938 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.3906, allocations: 4 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3906, allocations: 4 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.3914, allocations: 223.8 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.3925, allocations: 0.5081 MB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.393, allocations: 146.4 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.3934, allocations: 120.7 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3934, allocations: 4 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3934, allocations: 30.56 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.3934, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.00126/0.3947, allocations: 361.6 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3948, allocations: 63.34 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3949, allocations: 174.5 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.395, allocations: 29.78 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.3951, allocations: 127.9 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.3951, allocations: 31.55 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.3952, allocations: 25.66 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3953, allocations: 326.8 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.3957, allocations: 103.9 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.3961, allocations: 107.8 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.3968, allocations: 208.6 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3968, allocations: 0 / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007914/0.3976, allocations: 261.2 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3976, allocations: 4 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3976, allocations: 0 / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3976, allocations: 8 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.3979, allocations: 47.94 kB / 1.214 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.398, allocations: 7.922 kB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3982, allocations: 31.95 kB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3982, allocations: 4 kB / 1.214 GB, free: 3.465 MB / 0.9669 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.0001284/0.3983, allocations: 137.7 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3984, allocations: 15.81 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.3985, allocations: 25.39 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3985, allocations: 0 / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.3985, allocations: 3.938 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3985, allocations: 4.281 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.3988, allocations: 241.5 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3988, allocations: 4 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.399, allocations: 47.88 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.399, allocations: 4 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3991, allocations: 0 / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3991, allocations: 0 / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3991, allocations: 3.938 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008419/0.3999, allocations: 359.1 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.4, allocations: 88.92 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.4, allocations: 0 / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.4002, allocations: 39.94 kB / 1.215 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.4003, allocations: 19.92 kB / 1.215 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4003, allocations: 0 / 1.215 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001099/0.4004, allocations: 144.1 kB / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.473e-06/0.4005, allocations: 0 / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000245/0.4007, allocations: 27.88 kB / 1.215 GB, free: 2.227 MB / 0.9669 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.001226/0.4019, allocations: 0.8878 MB / 1.216 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007981/0.4027, allocations: 223.8 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4028, allocations: 0 / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.4031, allocations: 128.2 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.4035, allocations: 24.91 kB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.4071, allocations: 2.138 MB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4075, allocations: 0.7236 MB / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.801e-05/0.4076, allocations: 24.41 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-05/0.4077, allocations: 43.42 kB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.4077, allocations: 4 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.4308, allocations: 3.72 MB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.888, allocations: 3.938 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches