Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001044/0.001045, allocations: 185 kB / 17.34 MB, free: 5.629 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.592/2.592, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 60.14 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9246/0.9261, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002259/0.9284, allocations: 0.8899 MB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.9297, allocations: 0.8803 MB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.9298, allocations: 4 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.9299, allocations: 19.8 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.9301, allocations: 27.8 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.9303, allocations: 35.94 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.9305, allocations: 143.6 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.9308, allocations: 53.34 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.9309, allocations: 59.77 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.9311, allocations: 83.66 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.9311, allocations: 16 kB / 1.17 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/0.9311, allocations: 12 kB / 1.17 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.9312, allocations: 39.91 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.9313, allocations: 75.52 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.9316, allocations: 167.2 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9316, allocations: 0 / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9316, allocations: 0 / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.9316, allocations: 0 / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001057/0.9327, allocations: 0.5005 MB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.9327, allocations: 8.922 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.9328, allocations: 16.75 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.933, allocations: 224.4 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.933, allocations: 4.375 kB / 1.171 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.9331, allocations: 8.375 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.9336, allocations: 186 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.9336, allocations: 192 / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.9337, allocations: 3.938 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.9337, allocations: 0 / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.9344, allocations: 231.7 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.9355, allocations: 0.508 MB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.936, allocations: 158.4 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.9363, allocations: 112.8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.9364, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.9364, allocations: 34.55 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.9364, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.001191/0.9376, allocations: 369.2 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.9376, allocations: 51.41 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.9378, allocations: 191.2 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.9378, allocations: 25.7 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.9379, allocations: 120 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.938, allocations: 27.55 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.938, allocations: 29.72 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.9381, allocations: 322.8 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.9385, allocations: 103.9 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.9389, allocations: 103.9 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.9395, allocations: 216.6 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9396, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007472/0.9403, allocations: 257.8 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.9403, allocations: 11.98 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9404, allocations: 0 / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.9404, allocations: 0 / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.9407, allocations: 47.83 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9407, allocations: 3.938 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.9409, allocations: 40.05 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.9409, allocations: 7.938 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001101/0.941, allocations: 129.8 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.9411, allocations: 11.81 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.9411, allocations: 21.39 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9411, allocations: 4 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.9411, allocations: 3.938 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9411, allocations: 0 / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.9414, allocations: 253.5 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9414, allocations: 4 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.9417, allocations: 43.95 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9417, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.9417, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.9417, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.9417, allocations: 11.88 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.9425, allocations: 355.1 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.9426, allocations: 92.86 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.9426, allocations: 3.938 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.9428, allocations: 35.95 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.9429, allocations: 15.92 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.9429, allocations: 4 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.083e-05/0.943, allocations: 132.4 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.943, allocations: 0 / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002641/0.9433, allocations: 28 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001564/0.9434, allocations: 99.25 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007642/0.9442, allocations: 227.7 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9442, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.9446, allocations: 124.1 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.9449, allocations: 25.02 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.9458, allocations: 337.2 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.9462, allocations: 0.7236 MB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.9463, allocations: 11.44 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of SimCode: time 1.703e-06/0.9463, allocations: 4 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of Templates: time 0.005051/0.9513, allocations: 2.034 MB / 1.178 GB, free: 8.418 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches