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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001252/0.001252, allocations: 193.1 kB / 16.14 MB, free: 6.719 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.454/2.454, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.88 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/0.8355, allocations: 140.4 MB / 0.9489 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00197/0.8375, allocations: 0.8982 MB / 0.9498 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009102/0.8384, allocations: 0.8978 MB / 0.9507 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.8385, allocations: 2.781 kB / 0.9507 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.8386, allocations: 11.86 kB / 0.9507 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.8387, allocations: 10.78 kB / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.8389, allocations: 49.53 kB / 0.9508 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.8391, allocations: 119 kB / 0.9509 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.8392, allocations: 43.16 kB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-05/0.8393, allocations: 55.16 kB / 0.951 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.8394, allocations: 75.97 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.8395, allocations: 7 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.8395, allocations: 15.59 kB / 0.9511 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.8396, allocations: 29.5 kB / 0.9511 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.8396, allocations: 54.42 kB / 0.9511 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.8397, allocations: 128.4 kB / 0.9513 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.8398, allocations: 1.969 kB / 0.9513 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.8398, allocations: 0 / 0.9513 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.8398, allocations: 0 / 0.9513 GB, free: 7.59 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.0007576/0.8405, allocations: 455.2 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8406, allocations: 14.03 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.8406, allocations: 15.81 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.8408, allocations: 207.2 kB / 0.9519 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.8408, allocations: 4.188 kB / 0.9519 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.8409, allocations: 17.88 kB / 0.9519 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.8413, allocations: 145.4 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.8413, allocations: 4 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.8413, allocations: 5.25 kB / 0.9521 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8413, allocations: 1.188 kB / 0.9521 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.8418, allocations: 151.7 kB / 0.9522 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.8424, allocations: 416.8 kB / 0.9526 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.8433, allocations: 183.1 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.8435, allocations: 83.48 kB / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.8436, allocations: 0 / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.8436, allocations: 32.25 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.8436, allocations: 0 / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0008834/0.8445, allocations: 285.5 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.8445, allocations: 52.81 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.8446, allocations: 154.3 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.8446, allocations: 27.45 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.8447, allocations: 112.1 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.8447, allocations: 31.55 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.8448, allocations: 30.95 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.8448, allocations: 321.5 kB / 0.9539 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.8451, allocations: 73.73 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.8453, allocations: 80.64 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.8458, allocations: 156.6 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8458, allocations: 5.5 kB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005609/0.8464, allocations: 198.1 kB / 0.9544 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8464, allocations: 12.27 kB / 0.9544 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8464, allocations: 0 / 0.9544 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.8465, allocations: 1.25 kB / 0.9544 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.8467, allocations: 39.23 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8467, allocations: 1.5 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.8469, allocations: 19.25 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.8469, allocations: 2.219 kB / 0.9545 GB, free: 4.98 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 8.803e-05/0.847, allocations: 128.6 kB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.8471, allocations: 16.31 kB / 0.9546 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.8471, allocations: 19.44 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8471, allocations: 1.375 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8471, allocations: 0 / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8471, allocations: 1.656 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.8474, allocations: 236 kB / 0.9548 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8474, allocations: 3.984 kB / 0.9548 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.8476, allocations: 36.39 kB / 0.9549 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.8476, allocations: 3.938 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.8476, allocations: 5.188 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8476, allocations: 1.375 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8477, allocations: 4 kB / 0.9549 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.8483, allocations: 302.1 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.8483, allocations: 99.19 kB / 0.9553 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.8483, allocations: 5.906 kB / 0.9553 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.8485, allocations: 22.31 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.8487, allocations: 25.75 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.8487, allocations: 6.578 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.8487, allocations: 121.2 kB / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8488, allocations: 1.125 kB / 0.9555 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002569/0.849, allocations: 18.56 kB / 0.9555 GB, free: 4.082 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.0001427/0.8492, allocations: 110 kB / 0.9556 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000613/0.8498, allocations: 163.5 kB / 0.9557 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8498, allocations: 0 / 0.9557 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.8501, allocations: 102.3 kB / 0.9558 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.8504, allocations: 20.92 kB / 0.9558 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.851, allocations: 277.2 kB / 0.9561 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.8512, allocations: 0.7041 MB / 0.9568 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.8513, allocations: 23.77 kB / 0.9568 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.8514, allocations: 23.36 kB / 0.9568 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8514, allocations: 0 / 0.9568 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of Templates: time 0.004605/0.856, allocations: 2.048 MB / 0.9588 GB, free: 1.867 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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