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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008988/0.0008988, 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.006228/0.006228, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.9 MB / 0.6664 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 8 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7238, allocations: 142.4 MB / 0.9552 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0009895/0.7248, allocations: 0.5556 MB / 0.9557 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.7259, allocations: 0.8927 MB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.7259, allocations: 2.375 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.726, allocations: 11.86 kB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.7262, allocations: 10.03 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.7263, allocations: 54.19 kB / 0.9567 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.7265, allocations: 123.7 kB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.7267, allocations: 42.61 kB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.7267, allocations: 41.66 kB / 0.9569 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.7269, allocations: 74.12 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.7269, allocations: 4.812 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.7269, allocations: 5.406 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.727, allocations: 25.72 kB / 0.957 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.7271, allocations: 75.14 kB / 0.957 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.7272, allocations: 129.5 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7272, allocations: 3.938 kB / 0.9572 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7272, allocations: 0 / 0.9572 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.7273, allocations: 0 / 0.9572 GB, free: 6.074 MB / 0.7169 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.0007515/0.728, allocations: 444.7 kB / 0.9576 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.7281, allocations: 17.8 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.7281, allocations: 36.88 kB / 0.9576 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.7282, allocations: 20.12 kB / 0.9577 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.7283, allocations: 204.2 kB / 0.9579 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.7283, allocations: 7.312 kB / 0.9579 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.7284, allocations: 13.77 kB / 0.9579 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.7288, allocations: 162.9 kB / 0.958 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7288, allocations: 4 kB / 0.958 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.7288, allocations: 5.188 kB / 0.958 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7288, allocations: 1.531 kB / 0.958 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.7294, allocations: 188.4 kB / 0.9582 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005983/0.73, allocations: 422.2 kB / 0.9586 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.7309, allocations: 184.1 kB / 0.9588 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.7312, allocations: 109.8 kB / 0.9589 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.7312, allocations: 1.312 kB / 0.9589 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.7312, allocations: 31.66 kB / 0.9589 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.7312, allocations: 4 kB / 0.9589 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0009498/0.7322, allocations: 333.8 kB / 0.9593 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.7322, allocations: 52.66 kB / 0.9593 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.7323, allocations: 151.3 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.7323, allocations: 25.7 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.7324, allocations: 109.8 kB / 0.9596 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.7324, allocations: 27 kB / 0.9596 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.7325, allocations: 17.19 kB / 0.9596 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5e-05/0.7325, allocations: 326.6 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.7328, allocations: 88.95 kB / 0.96 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.7331, allocations: 91.3 kB / 0.9601 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.7336, allocations: 197.4 kB / 0.9603 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7337, allocations: 3.984 kB / 0.9603 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006215/0.7343, allocations: 235.7 kB / 0.9605 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.7343, allocations: 9.5 kB / 0.9605 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7343, allocations: 3.938 kB / 0.9605 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7343, allocations: 1.375 kB / 0.9605 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.7346, allocations: 42.89 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7346, allocations: 0 / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.7348, allocations: 34.78 kB / 0.9606 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.7348, allocations: 7.172 kB / 0.9606 GB, free: 3.406 MB / 0.7169 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 9.492e-05/0.7349, allocations: 116.5 kB / 0.9607 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.735, allocations: 15.97 kB / 0.9607 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.735, allocations: 23.69 kB / 0.9608 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.735, allocations: 1.062 kB / 0.9608 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.735, allocations: 4.938 kB / 0.9608 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.735, allocations: 4 kB / 0.9608 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.7353, allocations: 237.2 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7353, allocations: 0 / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.7355, allocations: 46.8 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7355, allocations: 0 / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.7355, allocations: 5.984 kB / 0.9611 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7355, allocations: 1 kB / 0.9611 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7355, allocations: 4 kB / 0.9611 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.7362, allocations: 335.1 kB / 0.9614 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.7362, allocations: 92.08 kB / 0.9615 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.7363, allocations: 4.844 kB / 0.9615 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.7365, allocations: 30.5 kB / 0.9615 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.7366, allocations: 33.05 kB / 0.9615 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.7366, allocations: 7.562 kB / 0.9615 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.582e-05/0.7367, allocations: 110 kB / 0.9616 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7367, allocations: 1 kB / 0.9616 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002373/0.7369, allocations: 26.88 kB / 0.9617 GB, free: 2.508 MB / 0.7169 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.000835/0.7378, allocations: 0.8692 MB / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006093/0.7384, allocations: 204 kB / 0.9627 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7384, allocations: 1.125 kB / 0.9627 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.7387, allocations: 116.7 kB / 0.9628 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.739, allocations: 11.73 kB / 0.9628 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.7415, allocations: 1.955 MB / 0.9648 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.7418, allocations: 0.7066 MB / 0.9654 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.7419, allocations: 21.2 kB / 0.9655 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.742, allocations: 42.03 kB / 0.9655 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.742, allocations: 0 / 0.9655 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.7555, allocations: 3.249 MB / 0.9687 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.7557, allocations: 200.5 kB / 0.9689 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.426/4.182, allocations: 4.812 kB / 0.9689 GB, free: 13.49 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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