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.001738/0.001738, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002146/0.002145, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.417/2.417, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001676, allocations: 63.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7325, allocations: 140.4 MB / 0.9492 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.003051/0.7356, allocations: 0.899 MB / 0.9501 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.7371, allocations: 0.899 MB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.7373, allocations: 1.375 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.7374, allocations: 11.86 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.7377, allocations: 6.688 kB / 0.951 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.7379, allocations: 53.56 kB / 0.9511 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.7381, allocations: 129.2 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.7383, allocations: 43.47 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.7384, allocations: 55.52 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.7386, allocations: 78.81 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.7386, allocations: 16.34 kB / 0.9514 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.911e-05/0.7386, allocations: 20.19 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.7387, allocations: 33.67 kB / 0.9514 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.7388, allocations: 57.97 kB / 0.9515 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.739, allocations: 130.6 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.739, allocations: 1.219 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.026e-06/0.739, allocations: 0 / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.7391, allocations: 0 / 0.9516 GB, free: 7.211 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.0009212/0.74, allocations: 460.2 kB / 0.9521 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.74, allocations: 9.406 kB / 0.9521 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.7401, allocations: 46.95 kB / 0.9521 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.7402, allocations: 9.469 kB / 0.9521 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.7404, allocations: 208.6 kB / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.7404, allocations: 12.47 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.7404, allocations: 9.688 kB / 0.9523 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.7409, allocations: 149.8 kB / 0.9525 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.7409, allocations: 5.188 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.741, allocations: 4 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.741, allocations: 2.312 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.7416, allocations: 150.7 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.7424, allocations: 413.7 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.7435, allocations: 182.2 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.7439, allocations: 87.11 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.744, allocations: 1 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.744, allocations: 31.69 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.744, allocations: 5.062 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.001086/0.7451, allocations: 277.2 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.7452, allocations: 56.5 kB / 0.9536 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.7454, allocations: 150 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.7454, allocations: 31.39 kB / 0.9538 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.7455, allocations: 109 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.7456, allocations: 31.17 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.7457, allocations: 26.36 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7458, allocations: 321.5 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.7461, allocations: 86.64 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.7464, allocations: 76.45 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.747, allocations: 157.1 kB / 0.9546 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.747, allocations: 3.938 kB / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007002/0.7477, allocations: 202.2 kB / 0.9548 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.7478, allocations: 5.438 kB / 0.9548 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7478, allocations: 3.984 kB / 0.9548 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.7478, allocations: 4 kB / 0.9548 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.7482, allocations: 36.3 kB / 0.9548 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.7482, allocations: 0 / 0.9548 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.7484, allocations: 24.5 kB / 0.9549 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.7484, allocations: 1.531 kB / 0.9549 GB, free: 4.547 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 0.0001861/0.7486, allocations: 125.4 kB / 0.955 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.7487, allocations: 23.98 kB / 0.955 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.7488, allocations: 16.12 kB / 0.955 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.7488, allocations: 1 kB / 0.955 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7488, allocations: 0 / 0.955 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.7488, allocations: 1.469 kB / 0.955 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.7491, allocations: 236.1 kB / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7491, allocations: 0 / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.7494, allocations: 38.83 kB / 0.9553 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.7494, allocations: 1.719 kB / 0.9553 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.7495, allocations: 5 kB / 0.9553 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.7495, allocations: 5.375 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7495, allocations: 3.938 kB / 0.9553 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.7501, allocations: 294.3 kB / 0.9556 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.7502, allocations: 95.39 kB / 0.9557 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.7502, allocations: 9.109 kB / 0.9557 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.7504, allocations: 18.69 kB / 0.9557 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7506, allocations: 30 kB / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.7506, allocations: 7.781 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.86e-05/0.7507, allocations: 113.9 kB / 0.9558 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7507, allocations: 3.938 kB / 0.9558 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002726/0.751, allocations: 22.09 kB / 0.9559 GB, free: 3.656 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.0008655/0.7518, allocations: 0.8409 MB / 0.9567 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006196/0.7525, allocations: 177.7 kB / 0.9568 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7525, allocations: 1.281 kB / 0.9568 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.7528, allocations: 102.2 kB / 0.9569 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.7532, allocations: 18.34 kB / 0.957 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.7562, allocations: 1.879 MB / 0.9588 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.7564, allocations: 0.7059 MB / 0.9595 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.7565, allocations: 24.8 kB / 0.9595 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.7567, allocations: 46.41 kB / 0.9596 GB, free: 444 kB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.7567, allocations: 0 / 0.9596 GB, free: 444 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.7759, allocations: 3.442 MB / 0.9629 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.7762, allocations: 199.6 kB / 0.9631 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.746, allocations: 0 / 0.9631 GB, free: 14.48 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