Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001461/0.001461, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.001447/0.001447, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.634/2.634, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 64.75 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7109/0.7127, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002082/0.7148, allocations: 0.8807 MB / 1.084 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.7159, allocations: 0.8755 MB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.7159, allocations: 1.375 kB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.7161, allocations: 16.98 kB / 1.085 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.7162, allocations: 29.95 kB / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.7163, allocations: 41.22 kB / 1.085 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.7165, allocations: 136.5 kB / 1.085 GB, free: 312 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.7166, allocations: 61.91 kB / 1.085 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.541e-05/0.7167, allocations: 61.39 kB / 1.085 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.7169, allocations: 80.67 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.7169, allocations: 13.22 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.864e-05/0.7169, allocations: 13.59 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.717, allocations: 43.8 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.7171, allocations: 64.73 kB / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.7173, allocations: 162.5 kB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7173, allocations: 4 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.031e-06/0.7173, allocations: 0 / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.7173, allocations: 2.016 kB / 1.085 GB, free: 80 kB / 0.8262 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.001116/0.7185, allocations: 0.5018 MB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7185, allocations: 8.969 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.7186, allocations: 16.56 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.7188, allocations: 222.5 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.7188, allocations: 7.844 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.7189, allocations: 5.625 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.7194, allocations: 182.1 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.7194, allocations: 8.062 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.7195, allocations: 5.891 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.7195, allocations: 1.094 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.7203, allocations: 220.5 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.7213, allocations: 0.5233 MB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.7218, allocations: 153.5 kB / 1.087 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.7222, allocations: 115.2 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.7222, allocations: 1.312 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.7223, allocations: 37.06 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.7223, allocations: 3.938 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001302/0.7236, allocations: 358.6 kB / 1.088 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.7236, allocations: 56.44 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.7238, allocations: 184.1 kB / 1.088 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.7239, allocations: 27.14 kB / 1.088 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.7239, allocations: 119.9 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.724, allocations: 36.23 kB / 1.088 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.724, allocations: 24.25 kB / 1.088 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7242, allocations: 325.2 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.7246, allocations: 97.28 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.7249, allocations: 106.2 kB / 1.089 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.7257, allocations: 219.3 kB / 1.089 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.7257, allocations: 1.094 kB / 1.089 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008021/0.7265, allocations: 265 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7265, allocations: 4.844 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7265, allocations: 3.984 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.7265, allocations: 1.938 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.7268, allocations: 45.36 kB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7268, allocations: 5.781 kB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.7271, allocations: 35.39 kB / 1.089 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.7271, allocations: 5.031 kB / 1.089 GB, free: 13.82 MB / 0.8419 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.0001357/0.7272, allocations: 127.8 kB / 1.089 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.7273, allocations: 13.88 kB / 1.089 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.7273, allocations: 20.05 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.7273, allocations: 1.812 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.7273, allocations: 5.156 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7273, allocations: 4.703 kB / 1.089 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.7277, allocations: 242.3 kB / 1.09 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7277, allocations: 0.7969 kB / 1.09 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.7279, allocations: 50.39 kB / 1.09 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.728, allocations: 3.938 kB / 1.09 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.728, allocations: 1.406 kB / 1.09 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.728, allocations: 0.6562 kB / 1.09 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.728, allocations: 5.5 kB / 1.09 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.7289, allocations: 358.2 kB / 1.09 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.729, allocations: 96.28 kB / 1.09 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.729, allocations: 1.75 kB / 1.09 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.7292, allocations: 30.89 kB / 1.09 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.7293, allocations: 17.22 kB / 1.09 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-06/0.7293, allocations: 1.984 kB / 1.09 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001195/0.7294, allocations: 136.1 kB / 1.09 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7295, allocations: 1.719 kB / 1.09 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002472/0.7297, allocations: 29.44 kB / 1.09 GB, free: 13.04 MB / 0.8419 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.0001323/0.7298, allocations: 102.3 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008223/0.7307, allocations: 231.7 kB / 1.091 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7307, allocations: 0 / 1.091 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.7311, allocations: 119 kB / 1.091 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.7314, allocations: 29.38 kB / 1.091 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.7321, allocations: 336.7 kB / 1.091 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.7325, allocations: 0.7284 MB / 1.092 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.7326, allocations: 17 kB / 1.092 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.7326, allocations: 1.156 kB / 1.092 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.003973/0.7366, allocations: 2.03 MB / 1.094 GB, free: 11.78 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches