Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001926/0.001926, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002278/0.002278, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.938/2.938, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.8109 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.643e-05/3.892e-05, allocations: 3.375 kB / 0.8109 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002186/0.002225, allocations: 0.8462 MB / 0.8117 GB, free: 44 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.003693, allocations: 0.9063 MB / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.003769, allocations: 4.688 kB / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.003894, allocations: 15.8 kB / 0.8126 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.004033, allocations: 28.98 kB / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.004185, allocations: 45.38 kB / 0.8127 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.004422, allocations: 135.5 kB / 0.8128 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.004589, allocations: 37.52 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.004737, allocations: 77.05 kB / 0.8129 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.004891, allocations: 75.83 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.004933, allocations: 12 kB / 0.813 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.541e-05/0.004969, allocations: 12.62 kB / 0.813 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.005081, allocations: 43.84 kB / 0.8131 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.005198, allocations: 45.23 kB / 0.8131 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.005501, allocations: 183.4 kB / 0.8133 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.005505, allocations: 0 / 0.8133 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005506, allocations: 0 / 0.8133 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.005511, allocations: 1 kB / 0.8133 GB, free: 14.43 MB / 0.7292 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.001086/0.006597, allocations: 432.6 kB / 0.8137 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.00664, allocations: 15.97 kB / 0.8137 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.006722, allocations: 28.8 kB / 0.8137 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.006972, allocations: 167.1 kB / 0.8139 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.006983, allocations: 4.375 kB / 0.8139 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.007013, allocations: 12.38 kB / 0.8139 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.007623, allocations: 182.1 kB / 0.8141 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.007633, allocations: 1.375 kB / 0.8141 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.007653, allocations: 384 / 0.8141 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.007658, allocations: 384 / 0.8141 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.008581, allocations: 223.6 kB / 0.8143 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.009672, allocations: 439.7 kB / 0.8147 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.01017, allocations: 148.4 kB / 0.8149 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.0106, allocations: 118.5 kB / 0.815 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.01062, allocations: 0 / 0.815 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.01065, allocations: 36.66 kB / 0.815 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.01065, allocations: 4 kB / 0.815 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.001382/0.01203, allocations: 361.6 kB / 0.8154 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.01208, allocations: 55.41 kB / 0.8154 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.0123, allocations: 176.9 kB / 0.8156 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.01232, allocations: 26.27 kB / 0.8156 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01243, allocations: 128 kB / 0.8157 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.01247, allocations: 29.16 kB / 0.8157 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/0.01254, allocations: 29.7 kB / 0.8158 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.01272, allocations: 326.8 kB / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.01315, allocations: 103.1 kB / 0.8162 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.01357, allocations: 108.6 kB / 0.8163 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.01438, allocations: 211.8 kB / 0.8165 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01439, allocations: 1.625 kB / 0.8165 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009085/0.01529, allocations: 264.9 kB / 0.8167 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.01532, allocations: 9.812 kB / 0.8168 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01532, allocations: 0 / 0.8168 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.01534, allocations: 3.984 kB / 0.8168 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.01566, allocations: 44.86 kB / 0.8168 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.01567, allocations: 5.047 kB / 0.8168 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.01589, allocations: 33.08 kB / 0.8168 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.0159, allocations: 4 kB / 0.8168 GB, free: 10.64 MB / 0.7292 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.0001621/0.01606, allocations: 134.7 kB / 0.817 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.01611, allocations: 15.91 kB / 0.817 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.01618, allocations: 21.47 kB / 0.817 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.01618, allocations: 5.062 kB / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01619, allocations: 0 / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01619, allocations: 3.984 kB / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.01647, allocations: 181.6 kB / 0.8172 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01647, allocations: 0.5938 kB / 0.8172 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.01674, allocations: 45.33 kB / 0.8172 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01675, allocations: 0 / 0.8172 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01676, allocations: 0.7812 kB / 0.8172 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01676, allocations: 0 / 0.8172 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.01677, allocations: 8.547 kB / 0.8172 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.01775, allocations: 360.3 kB / 0.8176 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.01778, allocations: 15.84 kB / 0.8176 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.0178, allocations: 4 kB / 0.8176 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.01806, allocations: 31.95 kB / 0.8176 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.01815, allocations: 16.69 kB / 0.8177 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.01816, allocations: 0 / 0.8177 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001352/0.01829, allocations: 136.9 kB / 0.8178 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01829, allocations: 0 / 0.8178 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002722/0.01856, allocations: 24 kB / 0.8178 GB, free: 9.605 MB / 0.7292 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.000165/0.01873, allocations: 105.7 kB / 0.8179 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008777/0.01961, allocations: 216.5 kB / 0.8181 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01961, allocations: 4 kB / 0.8181 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.02004, allocations: 111.9 kB / 0.8182 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.0204, allocations: 32.23 kB / 0.8183 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/0.02117, allocations: 325.5 kB / 0.8186 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.02131, allocations: 115 kB / 0.8187 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.02141, allocations: 24.47 kB / 0.8187 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.02149, allocations: 20.5 kB / 0.8187 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of SimCode: time 6.52e-07/0.02149, allocations: 0 / 0.8187 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of Templates: time 0.006083/0.02757, allocations: 2.044 MB / 0.8207 GB, free: 6.629 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.028288481989875]