Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_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.009114/0.009114, allocations: 99.45 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.001779/0.001779, allocations: 194.2 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8397, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002158/0.8419, allocations: 0.8594 MB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.843, allocations: 0.8965 MB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.843, allocations: 2.25 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.8432, allocations: 14.25 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.8433, allocations: 12.78 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.8435, allocations: 66.66 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.8437, allocations: 127.3 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.8439, allocations: 44.2 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.8439, allocations: 62.3 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.8441, allocations: 79.11 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.8441, allocations: 12.44 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.142e-05/0.8442, allocations: 13.12 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.8442, allocations: 37.3 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.8443, allocations: 53.84 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.8445, allocations: 143.4 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8445, allocations: 8 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8445, allocations: 0 / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.8445, allocations: 1.031 kB / 1.09 GB, free: 3.719 MB / 0.8575 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.0007745/0.8453, allocations: 440.5 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.8454, allocations: 9.812 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.8454, allocations: 47.8 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.8454, allocations: 11.36 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.8456, allocations: 206.9 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.8456, allocations: 12.09 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.8457, allocations: 9.375 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.8461, allocations: 149.2 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.8461, allocations: 5.188 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.8461, allocations: 4 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.8462, allocations: 2.938 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.8467, allocations: 155.9 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.8474, allocations: 417.2 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008801/0.8483, allocations: 174.2 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.8486, allocations: 87.98 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.8486, allocations: 4.719 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.8487, allocations: 37.2 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.8487, allocations: 0 / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001029/0.8497, allocations: 284.2 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.8497, allocations: 53.12 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.8499, allocations: 145.3 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.8499, allocations: 30.92 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.85, allocations: 111.7 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.85, allocations: 30.31 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.8501, allocations: 27.61 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.8502, allocations: 321.2 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.8505, allocations: 79 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.8508, allocations: 71.47 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.8514, allocations: 161.7 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8514, allocations: 4 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000668/0.852, allocations: 213 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.8521, allocations: 8.75 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8521, allocations: 1.375 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8521, allocations: 0.7812 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.8524, allocations: 36.03 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.8524, allocations: 0.6875 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.8526, allocations: 22.45 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.8526, allocations: 4.531 kB / 1.093 GB, free: 1.523 MB / 0.8575 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.0001005/0.8527, allocations: 129.5 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.8528, allocations: 16.58 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.8528, allocations: 16.7 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.8528, allocations: 1.625 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8528, allocations: 0.75 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8529, allocations: 1.453 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.8531, allocations: 230.2 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8531, allocations: 7.922 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.8534, allocations: 43.66 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8534, allocations: 1.594 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.8534, allocations: 6.656 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.8534, allocations: 0.8438 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.8534, allocations: 0.9844 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.8541, allocations: 297 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.8542, allocations: 98.2 kB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.8542, allocations: 0.625 kB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.8544, allocations: 18.44 kB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.8546, allocations: 34.7 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.8546, allocations: 8.953 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.356e-05/0.8547, allocations: 109.9 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8547, allocations: 4.719 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002676/0.855, allocations: 23.83 kB / 1.094 GB, free: 0.75 MB / 0.8575 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.000983/0.8559, allocations: 0.8457 MB / 1.095 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006763/0.8566, allocations: 169.5 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8566, allocations: 0.6875 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.857, allocations: 101.3 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.8573, allocations: 16.22 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.8607, allocations: 1.849 MB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.8611, allocations: 0.7076 MB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000134/0.8612, allocations: 19.78 kB / 1.098 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.8614, allocations: 45.73 kB / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.8614, allocations: 0 / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.8828, allocations: 3.805 MB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.912, allocations: 16.22 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches