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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004701/0.004702, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00109/0.00109, allocations: 192.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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.616/2.616, allocations: 469.4 MB / 0.7422 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9032/0.9046, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002353/0.907, allocations: 0.8752 MB / 1.221 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.9082, allocations: 0.8819 MB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.9083, allocations: 0 / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.9085, allocations: 19.8 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.9087, allocations: 27.73 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.9088, allocations: 39.94 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.909, allocations: 135.6 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.9092, allocations: 65.3 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.9094, allocations: 55.78 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.9095, allocations: 83.72 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.9095, allocations: 12 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.265e-05/0.9096, allocations: 12 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.9097, allocations: 47.91 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.9097, allocations: 59.61 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.91, allocations: 170.9 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.91, allocations: 4 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.91, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.91, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9512 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.001052/0.9111, allocations: 0.5219 MB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.9111, allocations: 8.625 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.9112, allocations: 38.75 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.9112, allocations: 24.78 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.9115, allocations: 217.3 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.9115, allocations: 4.375 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.9116, allocations: 8.375 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.9121, allocations: 184 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9121, allocations: 3.938 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.9122, allocations: 4 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.9122, allocations: 4 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.9129, allocations: 227.7 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.914, allocations: 0.5042 MB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.9145, allocations: 158.4 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.9148, allocations: 116.8 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.9149, allocations: 0 / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.9149, allocations: 30.56 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.9149, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001245/0.9162, allocations: 373.5 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.9162, allocations: 55.34 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.9164, allocations: 174.3 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.9164, allocations: 33.7 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.9165, allocations: 124 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.9165, allocations: 27.73 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.9166, allocations: 21.72 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9167, allocations: 326.8 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.9171, allocations: 103.9 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.9174, allocations: 107.8 kB / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.9181, allocations: 217.1 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9182, allocations: 4 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007829/0.9189, allocations: 257.3 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.919, allocations: 14.03 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.919, allocations: 0 / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.919, allocations: 3.984 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.9193, allocations: 43.94 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.9193, allocations: 3.938 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.9195, allocations: 35.95 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.9196, allocations: 4 kB / 1.226 GB, free: 11.59 MB / 0.9512 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.0001029/0.9197, allocations: 134.3 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.9197, allocations: 11.91 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.9198, allocations: 21.39 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.9198, allocations: 4 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9198, allocations: 3.938 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.9198, allocations: 0 / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.9201, allocations: 257.5 kB / 1.226 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9201, allocations: 0 / 1.226 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.9203, allocations: 43.95 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9203, allocations: 0 / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.9203, allocations: 0 / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.9204, allocations: 3.984 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9204, allocations: 7.938 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.9212, allocations: 355.2 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.9213, allocations: 96.94 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.9213, allocations: 0 / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.9215, allocations: 39.95 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.9216, allocations: 19.92 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-06/0.9216, allocations: 0 / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001032/0.9217, allocations: 140.1 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9217, allocations: 0 / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002484/0.922, allocations: 28 kB / 1.227 GB, free: 10.35 MB / 0.9512 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.001168/0.9232, allocations: 0.8997 MB / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008075/0.924, allocations: 219.8 kB / 1.228 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.924, allocations: 4 kB / 1.228 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.9244, allocations: 115.8 kB / 1.228 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.9247, allocations: 27.92 kB / 1.228 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.9281, allocations: 2.145 MB / 1.23 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.9284, allocations: 0.7313 MB / 1.231 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.653e-05/0.9285, allocations: 28.39 kB / 1.231 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.9286, allocations: 39.42 kB / 1.231 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.9286, allocations: 4 kB / 1.231 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.9499, allocations: 3.64 MB / 1.235 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.61, allocations: 15.72 kB / 1.235 GB, free: 2.48 MB / 0.9512 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 50 --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