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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 84.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.361/3.361, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.512e-05, allocations: 7.938 kB / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002121/0.002157, allocations: 0.8307 MB / 0.8784 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.00371, allocations: 0.9162 MB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.003795, allocations: 4 kB / 0.8793 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.003912, allocations: 15.8 kB / 0.8793 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.004022, allocations: 17.69 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.004243, allocations: 63.8 kB / 0.8794 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.004463, allocations: 131.7 kB / 0.8795 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.004598, allocations: 25.23 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.004744, allocations: 82.55 kB / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.004905, allocations: 63.84 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.004941, allocations: 16 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.892e-05/0.00497, allocations: 12 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.005038, allocations: 35.83 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.00511, allocations: 39.89 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.005349, allocations: 151.5 kB / 0.8799 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.005356, allocations: 4.719 kB / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005357, allocations: 0 / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.005362, allocations: 1.656 kB / 0.88 GB, free: 4.074 MB / 0.8386 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.0009799/0.006342, allocations: 369.7 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.006387, allocations: 12.53 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/0.006474, allocations: 26.19 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.00674, allocations: 142.2 kB / 0.8805 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.006766, allocations: 8.328 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.006793, allocations: 13.97 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.007292, allocations: 151.7 kB / 0.8806 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.007302, allocations: 4 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.007322, allocations: 4 kB / 0.8807 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.007327, allocations: 0 / 0.8807 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.007943, allocations: 151.8 kB / 0.8808 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.008646, allocations: 340.2 kB / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009445/0.00959, allocations: 166.5 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.009906, allocations: 80.91 kB / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.009932, allocations: 4 kB / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.009966, allocations: 34.56 kB / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.009967, allocations: 0 / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.001094/0.01106, allocations: 285.5 kB / 0.8817 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.01112, allocations: 51.41 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.0113, allocations: 152.4 kB / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.01133, allocations: 33.7 kB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.01143, allocations: 115.9 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.01148, allocations: 27.73 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.01156, allocations: 29.7 kB / 0.8821 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004239/0.01199, allocations: 322.8 kB / 0.8824 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.0123, allocations: 79.86 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.0126, allocations: 75.92 kB / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.0132, allocations: 152.7 kB / 0.8827 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.0132, allocations: 0 / 0.8827 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007032/0.01391, allocations: 209.4 kB / 0.8829 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.01392, allocations: 4 kB / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01393, allocations: 0 / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.01395, allocations: 3.938 kB / 0.8829 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.01424, allocations: 39.95 kB / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.01425, allocations: 0 / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.01444, allocations: 23.97 kB / 0.8829 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.01446, allocations: 4 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 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.0001453/0.0146, allocations: 129.8 kB / 0.8831 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.01465, allocations: 11.91 kB / 0.8831 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.01471, allocations: 16.78 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.01471, allocations: 3.938 kB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.01472, allocations: 4 kB / 0.8831 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01472, allocations: 0 / 0.8831 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.01498, allocations: 161.2 kB / 0.8832 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01499, allocations: 4 kB / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.01524, allocations: 35.95 kB / 0.8833 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01524, allocations: 4 kB / 0.8833 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.01526, allocations: 3.984 kB / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01526, allocations: 0 / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.01526, allocations: 3.938 kB / 0.8833 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.01606, allocations: 311.2 kB / 0.8836 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.01609, allocations: 11.89 kB / 0.8836 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.01612, allocations: 7.984 kB / 0.8836 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.01635, allocations: 19.97 kB / 0.8836 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.01648, allocations: 39.78 kB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01649, allocations: 3.984 kB / 0.8837 GB, free: 28 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001322/0.01662, allocations: 116.4 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 0 / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002665/0.01689, allocations: 24 kB / 0.8838 GB, free: 15.89 MB / 0.8542 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.0001665/0.01706, allocations: 99.25 kB / 0.8839 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007046/0.01776, allocations: 159.8 kB / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01776, allocations: 4 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.01812, allocations: 104.8 kB / 0.8842 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.01846, allocations: 26.12 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.01912, allocations: 240.6 kB / 0.8844 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.01924, allocations: 101.2 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000112/0.01935, allocations: 20.48 kB / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01946, allocations: 28.48 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01946, allocations: 0 / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.00682/0.02628, allocations: 2.602 MB / 0.8871 GB, free: 12.52 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.54931846295949]