Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008695/0.008695, allocations: 104 kB / 15.74 MB, free: 6.02 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.001581/0.001581, allocations: 189.2 kB / 16.67 MB, free: 5.938 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.502/2.502, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.007, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002146/1.01, allocations: 0.8788 MB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001092/1.011, allocations: 0.8791 MB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/1.011, allocations: 2.625 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/1.011, allocations: 18.06 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/1.011, allocations: 28.31 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/1.011, allocations: 41.53 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/1.012, allocations: 136.7 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/1.012, allocations: 54.8 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/1.012, allocations: 53.95 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/1.012, allocations: 85.19 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/1.012, allocations: 16.06 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.565e-05/1.012, allocations: 12.72 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/1.012, allocations: 41.58 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/1.012, allocations: 67.81 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/1.013, allocations: 174.4 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.013, allocations: 1.5 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/1.013, allocations: 0 / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.013, allocations: 4.781 kB / 1.09 GB, free: 3.926 MB / 0.8575 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.0009458/1.013, allocations: 0.5058 MB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.014, allocations: 9.969 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/1.014, allocations: 16.38 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/1.014, allocations: 220.8 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/1.014, allocations: 3.5 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/1.014, allocations: 15.38 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/1.015, allocations: 185.1 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.015, allocations: 4.188 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/1.015, allocations: 5 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/1.015, allocations: 2.562 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009901/1.016, allocations: 220.2 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/1.017, allocations: 0.5114 MB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/1.018, allocations: 148.8 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/1.018, allocations: 114.7 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/1.018, allocations: 6.062 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.018, allocations: 39.91 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.053e-06/1.018, allocations: 0 / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001545/1.02, allocations: 359.3 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/1.02, allocations: 53.06 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/1.02, allocations: 183.6 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/1.02, allocations: 25.7 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.02, allocations: 125.1 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/1.02, allocations: 29.52 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/1.02, allocations: 22.03 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.891e-05/1.02, allocations: 327.1 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/1.021, allocations: 105.2 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/1.021, allocations: 102.4 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/1.022, allocations: 222.1 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.022, allocations: 0 / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008967/1.023, allocations: 257.8 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.023, allocations: 5.969 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.023, allocations: 4.594 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.023, allocations: 1.031 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/1.023, allocations: 45.8 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/1.023, allocations: 8.625 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.024, allocations: 38.81 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/1.024, allocations: 2.219 kB / 1.094 GB, free: 1.676 MB / 0.8575 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.0001115/1.024, allocations: 128.3 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/1.024, allocations: 13.34 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/1.024, allocations: 25.02 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.024, allocations: 0.5312 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.024, allocations: 8.531 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.024, allocations: 1.219 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/1.024, allocations: 246.5 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.024, allocations: 0.75 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/1.025, allocations: 46.11 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.025, allocations: 1.562 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.025, allocations: 4 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.025, allocations: 0.5938 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/1.025, allocations: 13.03 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/1.025, allocations: 359.2 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/1.026, allocations: 93.11 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/1.026, allocations: 5.312 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/1.026, allocations: 34.3 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/1.026, allocations: 16.8 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.026, allocations: 2.938 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001091/1.026, allocations: 141.1 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.026, allocations: 0 / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002742/1.026, allocations: 22.59 kB / 1.095 GB, free: 0.8828 MB / 0.8575 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.000195/1.027, allocations: 103.3 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009349/1.027, allocations: 223.7 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.027, allocations: 4 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005265/1.028, allocations: 115.6 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/1.028, allocations: 31.34 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/1.029, allocations: 303.5 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/1.03, allocations: 0.7298 MB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001319/1.03, allocations: 20.98 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/1.03, allocations: 12.91 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/1.03, allocations: 0 / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.005885/1.036, allocations: 1.917 MB / 1.099 GB, free: 15.66 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches