Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001598/0.001598, 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.001527/0.001527, allocations: 198.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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.818/2.818, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 67.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7194, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002536/0.722, allocations: 0.9019 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.7232, allocations: 0.9013 MB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.7233, allocations: 4 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.7235, allocations: 3.938 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.7236, allocations: 15.86 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.7238, allocations: 47.95 kB / 1.018 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.7241, allocations: 123.7 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.7242, allocations: 45.08 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.7243, allocations: 51.83 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.7245, allocations: 79.66 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.7246, allocations: 8 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.699e-05/0.7246, allocations: 8 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.607e-05/0.7247, allocations: 35.89 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.7247, allocations: 51.66 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.7249, allocations: 135.5 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.725, allocations: 0 / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.814e-06/0.725, allocations: 0 / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.725, allocations: 7.938 kB / 1.019 GB, free: 368 kB / 0.7637 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.001007/0.726, allocations: 448.9 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.7261, allocations: 12.03 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.7261, allocations: 12.83 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.7264, allocations: 204.6 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.7265, allocations: 8.375 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.7265, allocations: 15.94 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.727, allocations: 147.2 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.727, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.727, allocations: 8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.727, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.7276, allocations: 159.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.7284, allocations: 416.4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/0.7293, allocations: 170.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.7296, allocations: 92.89 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.7296, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.7296, allocations: 34.56 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.7297, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000942/0.7306, allocations: 285.2 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.7306, allocations: 55.41 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.7308, allocations: 142.4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.7308, allocations: 29.7 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.7309, allocations: 112 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.731, allocations: 27.55 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.731, allocations: 29.7 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7312, allocations: 318.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.7314, allocations: 79.92 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.7317, allocations: 72.3 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.7322, allocations: 164.8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.7322, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005845/0.7328, allocations: 201.4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7329, allocations: 15.94 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7329, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.7329, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.7332, allocations: 35.95 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7332, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.7334, allocations: 27.88 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.7334, allocations: 7.984 kB / 1.022 GB, free: 12.86 MB / 0.7794 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.0001226/0.7335, allocations: 122.4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.7336, allocations: 11.84 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.7336, allocations: 20.7 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7336, allocations: 3.938 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7336, allocations: 4 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7336, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.7339, allocations: 225.5 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7339, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.7342, allocations: 31.95 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.7342, allocations: 15.88 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.7342, allocations: 7.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7342, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7342, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.7349, allocations: 307.2 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.735, allocations: 88.95 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.735, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.7352, allocations: 19.97 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.7353, allocations: 31.95 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.7354, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.7354, allocations: 113.7 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7355, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002471/0.7357, allocations: 20 kB / 1.023 GB, free: 11.75 MB / 0.7794 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.0001623/0.7359, allocations: 103.2 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006574/0.7365, allocations: 171.8 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7366, allocations: 0 / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.7369, allocations: 103.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.7372, allocations: 14.28 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.7378, allocations: 275.8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.7381, allocations: 0.7081 MB / 1.024 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.7382, allocations: 32.41 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.7383, allocations: 19.36 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.7383, allocations: 4 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.004911/0.7432, allocations: 2.045 MB / 1.027 GB, free: 8.238 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches