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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.004682/0.004682, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001296/0.001296, allocations: 195.3 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 71.89 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 162.2 MB / 1.242 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002022/0.3093, allocations: 0.8812 MB / 1.242 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3104, allocations: 0.874 MB / 1.243 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.3105, allocations: 4 kB / 1.243 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.3106, allocations: 15.81 kB / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.3107, allocations: 19.8 kB / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.3108, allocations: 43.94 kB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.311, allocations: 135.5 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3112, allocations: 61.3 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.3113, allocations: 55.78 kB / 1.244 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3114, allocations: 83.72 kB / 1.244 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.3115, allocations: 12 kB / 1.244 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.3115, allocations: 12 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.3116, allocations: 51.84 kB / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.3117, allocations: 67.59 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.3119, allocations: 171.3 kB / 1.244 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3119, allocations: 3.938 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3119, allocations: 0 / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3119, allocations: 0 / 1.244 GB, free: 7.66 MB / 0.9981 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.0009497/0.3129, allocations: 0.5102 MB / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3129, allocations: 8.031 kB / 1.244 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.313, allocations: 42.75 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.313, allocations: 24.73 kB / 1.245 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.3132, allocations: 216.1 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3132, allocations: 8.375 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.3133, allocations: 8.375 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.3138, allocations: 183.8 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3139, allocations: 3.938 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3139, allocations: 4 kB / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3139, allocations: 4 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.3147, allocations: 219.8 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3157, allocations: 0.5081 MB / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.3162, allocations: 154.4 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.3166, allocations: 112.8 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3167, allocations: 192 / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3167, allocations: 42.5 kB / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.3167, allocations: 0 / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001319/0.318, allocations: 365.4 kB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3181, allocations: 59.33 kB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3183, allocations: 183.5 kB / 1.247 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3183, allocations: 25.7 kB / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.3184, allocations: 128 kB / 1.247 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.3185, allocations: 31.73 kB / 1.247 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.3185, allocations: 21.66 kB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3187, allocations: 326.8 kB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.3191, allocations: 103.9 kB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.3195, allocations: 103.9 kB / 1.247 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007759/0.3203, allocations: 221.1 kB / 1.247 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3203, allocations: 0 / 1.247 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008518/0.3211, allocations: 261.3 kB / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3212, allocations: 4 kB / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3212, allocations: 0 / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3212, allocations: 0 / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.3215, allocations: 47.94 kB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3215, allocations: 3.938 kB / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3217, allocations: 35.95 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3217, allocations: 0 / 1.248 GB, free: 3.512 MB / 0.9981 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.0001141/0.3218, allocations: 130.4 kB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.3219, allocations: 15.89 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.322, allocations: 29.39 kB / 1.248 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.322, allocations: 0 / 1.248 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.322, allocations: 3.938 kB / 1.248 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.322, allocations: 4 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3223, allocations: 249.5 kB / 1.248 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3223, allocations: 0 / 1.248 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.3225, allocations: 47.88 kB / 1.248 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3226, allocations: 0 / 1.248 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3226, allocations: 4 kB / 1.248 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3226, allocations: 4 kB / 1.248 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3226, allocations: 3.938 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.3235, allocations: 351.2 kB / 1.249 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3236, allocations: 92.95 kB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3236, allocations: 8.172 kB / 1.249 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.3239, allocations: 31.95 kB / 1.249 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.3239, allocations: 19.86 kB / 1.249 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3239, allocations: 4 kB / 1.249 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001155/0.3241, allocations: 135.1 kB / 1.249 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.883e-06/0.3241, allocations: 0 / 1.249 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002549/0.3243, allocations: 35.89 kB / 1.249 GB, free: 2.27 MB / 0.9981 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.001269/0.3256, allocations: 0.884 MB / 1.25 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008461/0.3265, allocations: 227.7 kB / 1.25 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3265, allocations: 0 / 1.25 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.3269, allocations: 119.8 kB / 1.25 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3273, allocations: 31.92 kB / 1.25 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5047/0.8319, allocations: 2.13 MB / 1.252 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.8321, allocations: 0.7243 MB / 1.253 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.8322, allocations: 23.23 kB / 1.253 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.8323, allocations: 43.02 kB / 1.253 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.8324, allocations: 0.9375 kB / 1.253 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.8566, allocations: 3.649 MB / 1.257 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.576, allocations: 8.984 kB / 1.257 GB, free: 13.05 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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