Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001342/0.001342, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.441/2.441, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7109/0.7122, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002185/0.7144, allocations: 0.6494 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.7146, allocations: 11.94 kB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.7147, allocations: 4 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.7148, allocations: 11.92 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.937e-05/0.7149, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.689e-05/0.715, allocations: 4 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.7151, allocations: 43.91 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.7153, allocations: 35.97 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.167e-05/0.7153, allocations: 11.94 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.55e-05/0.7153, allocations: 15.92 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.7154, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.7154, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.7154, allocations: 15.94 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.7155, allocations: 15.88 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.762e-05/0.7156, allocations: 51.8 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7156, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7156, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7156, allocations: 3.938 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003536/0.7159, allocations: 351.3 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.716, allocations: 8.031 kB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.716, allocations: 12.78 kB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.7162, allocations: 176.3 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.7162, allocations: 8.375 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.7163, allocations: 4.375 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.7164, allocations: 74.23 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.7165, allocations: 192 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.7165, allocations: 7.938 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.7165, allocations: 3.984 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.7166, allocations: 55.84 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.7171, allocations: 485 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.7172, allocations: 169.1 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.7172, allocations: 84.14 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.7173, allocations: 79.27 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/0.7173, allocations: 105.8 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.7174, allocations: 4 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.993e-05/0.7174, allocations: 29.7 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.7175, allocations: 130.6 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.7177, allocations: 179.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.7177, allocations: 25.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.7178, allocations: 96.12 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.7178, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.7178, allocations: 13.72 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7179, allocations: 322.8 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.718, allocations: 4 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.718, allocations: 15.98 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.718, allocations: 12.86 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.718, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001204/0.7181, allocations: 57.52 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.7182, allocations: 8 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7182, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7182, allocations: 4.094 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.7183, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7183, allocations: 3.938 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.7183, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.7183, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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 9.749e-05/0.7184, allocations: 197.1 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.7185, allocations: 108.9 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.7186, allocations: 124.9 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.634e-05/0.7186, allocations: 180.2 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.718e-05/0.7187, allocations: 188.1 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-05/0.7188, allocations: 180.2 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.719, allocations: 417.2 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.7191, allocations: 108.9 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.7191, allocations: 109 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-05/0.7192, allocations: 176.3 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.7192, allocations: 180.2 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.947e-05/0.7193, allocations: 180.3 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-05/0.7194, allocations: 188.1 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.7195, allocations: 311.7 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.7196, allocations: 186.1 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.7197, allocations: 180.2 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.7198, allocations: 112.9 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.7198, allocations: 180.2 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.7199, allocations: 112.9 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001025/0.72, allocations: 135.1 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.72, allocations: 0 / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002276/0.7202, allocations: 8 kB / 1.215 GB, free: 6.297 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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.0001764/0.7204, allocations: 170.5 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.806e-05/0.7205, allocations: 16.33 kB / 1.215 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7205, allocations: 4.062 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.7205, allocations: 0 / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.721, allocations: 465.4 kB / 1.216 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.7213, allocations: 237.8 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.7217, allocations: 0.6924 MB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.7217, allocations: 15.44 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.7217, allocations: 0 / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of Templates: time 0.002327/0.7241, allocations: 0.7719 MB / 1.217 GB, free: 3.875 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches