Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.0009069/0.000907, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005425/0.005425, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.82/2.82, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 13.98 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3578, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001005/0.3589, allocations: 0.5692 MB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3599, allocations: 0.8936 MB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.36, allocations: 4 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.3601, allocations: 3.938 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.3602, allocations: 11.86 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.3604, allocations: 59.94 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3606, allocations: 123.7 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3607, allocations: 41.09 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.3608, allocations: 47.81 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.361, allocations: 59.75 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.361, allocations: 4 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.361, allocations: 8 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.3611, allocations: 31.83 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.3611, allocations: 77.36 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.3613, allocations: 127.5 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.3613, allocations: 4 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3613, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3613, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008257/0.3622, allocations: 443.3 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3622, allocations: 11.97 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.3623, allocations: 42.73 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3623, allocations: 12.75 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3626, allocations: 196.8 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3626, allocations: 16.11 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.3626, allocations: 8 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.3631, allocations: 165.5 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3631, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3631, allocations: 4 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3631, allocations: 4 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.3637, allocations: 193.2 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.3643, allocations: 424.3 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007892/0.3651, allocations: 198.5 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.3654, allocations: 100.8 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3654, allocations: 3.984 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3655, allocations: 38.56 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.3655, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000966/0.3665, allocations: 325.2 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.3665, allocations: 51.41 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3667, allocations: 149 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3667, allocations: 33.7 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.3668, allocations: 111.9 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.3668, allocations: 27.64 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.3668, allocations: 17.72 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3669, allocations: 318.8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.3672, allocations: 95.92 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.3675, allocations: 91.86 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.3681, allocations: 189.3 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3681, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006213/0.3687, allocations: 245.2 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3687, allocations: 8 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3687, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3688, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.369, allocations: 47.95 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.369, allocations: 0 / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.3692, allocations: 39.81 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3692, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001078/0.3693, allocations: 125.8 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3694, allocations: 15.84 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.3694, allocations: 16.72 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3694, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3694, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.3694, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3697, allocations: 237.5 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3697, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.3699, allocations: 51.89 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3699, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.37, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.37, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.37, allocations: 3.984 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.3706, allocations: 335.2 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.3707, allocations: 88.94 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.3707, allocations: 8 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3709, allocations: 27.91 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.371, allocations: 35.95 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.371, allocations: 4 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.3711, allocations: 113.3 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3711, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002327/0.3713, allocations: 27.94 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000959/0.3723, allocations: 0.8801 MB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005997/0.3729, allocations: 199.8 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3729, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.3732, allocations: 111.9 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3735, allocations: 19.98 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.3762, allocations: 1.939 MB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3764, allocations: 0.7088 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.3765, allocations: 20.44 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3766, allocations: 43.41 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3766, allocations: 3.938 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08873/0.4654, allocations: 3.244 MB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.4656, allocations: 205.6 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.328, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches