Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01003/0.01003, allocations: 99.64 kB / 15.73 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.002193/0.002193, allocations: 191 kB / 16.67 MB, free: 5.926 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 68.11 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002461/1.066, allocations: 0.8857 MB / 1.222 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001065/1.067, allocations: 0.8818 MB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/1.067, allocations: 0 / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/1.067, allocations: 19.8 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/1.068, allocations: 23.8 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/1.068, allocations: 43.94 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/1.068, allocations: 131.6 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/1.068, allocations: 53.3 kB / 1.223 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/1.068, allocations: 59.72 kB / 1.223 GB, free: 0 / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/1.068, allocations: 83.84 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/1.068, allocations: 16 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.089e-05/1.068, allocations: 12 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/1.068, allocations: 39.84 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/1.068, allocations: 71.59 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/1.069, allocations: 171.8 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/1.069, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.783e-06/1.069, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.793e-06/1.069, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9512 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.0009626/1.07, allocations: 0.5141 MB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.07, allocations: 8.031 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/1.07, allocations: 20.8 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/1.07, allocations: 217.2 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/1.07, allocations: 4.375 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/1.07, allocations: 12.38 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/1.07, allocations: 180.7 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.07, allocations: 4.188 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/1.07, allocations: 7.938 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.07, allocations: 0 / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/1.071, allocations: 227.6 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009369/1.072, allocations: 0.5081 MB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/1.072, allocations: 146.5 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/1.073, allocations: 116.7 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/1.073, allocations: 0 / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.073, allocations: 34.55 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/1.073, allocations: 4 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001151/1.074, allocations: 361.6 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.074, allocations: 59.34 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/1.074, allocations: 178.8 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/1.074, allocations: 37.64 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/1.074, allocations: 124 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/1.074, allocations: 27.75 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/1.074, allocations: 29.7 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.075, allocations: 326.8 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/1.075, allocations: 99.89 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/1.075, allocations: 103.9 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/1.076, allocations: 213.2 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.076, allocations: 4 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006928/1.077, allocations: 265.2 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.077, allocations: 8 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.077, allocations: 0 / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.077, allocations: 0 / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/1.077, allocations: 43.89 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.077, allocations: 3.938 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/1.077, allocations: 43.94 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/1.077, allocations: 0 / 1.227 GB, free: 11.51 MB / 0.9512 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.0001227/1.077, allocations: 130.4 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/1.077, allocations: 11.91 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/1.077, allocations: 21.41 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.077, allocations: 4 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.077, allocations: 3.938 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.077, allocations: 0 / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/1.078, allocations: 253.5 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.078, allocations: 4 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/1.078, allocations: 39.95 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.078, allocations: 0 / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/1.078, allocations: 3.984 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.078, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.078, allocations: 3.938 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/1.078, allocations: 359.2 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/1.079, allocations: 92.95 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/1.079, allocations: 4 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.079, allocations: 39.89 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/1.079, allocations: 19.86 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/1.079, allocations: 0 / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.874e-05/1.079, allocations: 140.3 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/1.079, allocations: 0 / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002302/1.079, allocations: 20 kB / 1.228 GB, free: 10.29 MB / 0.9512 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.0001607/1.079, allocations: 111.2 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007126/1.08, allocations: 227.8 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.08, allocations: 0 / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/1.08, allocations: 111.8 kB / 1.228 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/1.081, allocations: 25.7 kB / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/1.081, allocations: 307.2 kB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/1.082, allocations: 0.7275 MB / 1.229 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.545e-05/1.082, allocations: 24.42 kB / 1.229 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/1.082, allocations: 11.44 kB / 1.229 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/1.082, allocations: 0 / 1.229 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of Templates: time 0.004664/1.086, allocations: 1.913 MB / 1.231 GB, free: 6.809 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches