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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001815/0.001815, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001823/0.001823, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.5 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3684, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002077/0.3706, allocations: 0.6609 MB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.3708, allocations: 15.98 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.3708, allocations: 3.938 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.3709, allocations: 4 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.371, allocations: 0 / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.3711, allocations: 11.92 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3712, allocations: 35.97 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3714, allocations: 31.98 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.609e-05/0.3714, allocations: 11.94 kB / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.334e-05/0.3714, allocations: 15.92 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3715, allocations: 4 kB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.3715, allocations: 4 kB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.3715, allocations: 11.94 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.3716, allocations: 19.86 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.992e-05/0.3717, allocations: 55.75 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3717, allocations: 3.984 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3717, allocations: 0 / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3717, allocations: 0 / 1.028 GB, free: 1.133 MB / 0.795 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.0003929/0.3721, allocations: 348.6 kB / 1.028 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3721, allocations: 8.031 kB / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.3722, allocations: 8.844 kB / 1.028 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3723, allocations: 176.4 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3724, allocations: 4.375 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3724, allocations: 384 / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3726, allocations: 96.48 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3726, allocations: 192 / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3726, allocations: 11.88 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3726, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.3727, allocations: 51.97 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.3732, allocations: 487 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.678e-05/0.3733, allocations: 169.1 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.3733, allocations: 84.14 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3734, allocations: 79.27 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.3734, allocations: 109.8 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3735, allocations: 0 / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.255e-05/0.3735, allocations: 29.64 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/0.3736, allocations: 134.7 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3738, allocations: 176.5 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3738, allocations: 25.7 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.3739, allocations: 100 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.3739, allocations: 0 / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.374, allocations: 13.72 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3741, allocations: 322.8 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.3741, allocations: 4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.3741, allocations: 15.98 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.3742, allocations: 12.84 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3742, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001179/0.3743, allocations: 57.53 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3743, allocations: 4.109 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3743, allocations: 3.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3743, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.3744, allocations: 4 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3744, allocations: 4.031 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.3744, allocations: 11.94 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3745, allocations: 7.984 kB / 1.03 GB, free: 14.4 MB / 0.8106 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 0.0001046/0.3746, allocations: 197.1 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.3746, allocations: 112.9 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3748, allocations: 116.8 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/0.3748, allocations: 176.3 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.899e-05/0.3749, allocations: 188.1 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-05/0.375, allocations: 180.2 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.3752, allocations: 417.2 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/0.3752, allocations: 108.9 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.3753, allocations: 101 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.218e-05/0.3754, allocations: 184.2 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.3754, allocations: 176.3 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.426e-05/0.3755, allocations: 200.2 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-05/0.3756, allocations: 180.2 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.3757, allocations: 307.7 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.3758, allocations: 190.1 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.3759, allocations: 184.2 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.376, allocations: 101.3 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.3761, allocations: 180.2 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/0.3762, allocations: 112.9 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.486e-05/0.3763, allocations: 135.2 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3763, allocations: 0 / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000217/0.3766, allocations: 4 kB / 1.033 GB, free: 10.7 MB / 0.8106 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.0001668/0.3767, allocations: 178.5 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.177e-05/0.3768, allocations: 8 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3768, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3768, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.3772, allocations: 471.7 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.3776, allocations: 220.1 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3779, allocations: 0.6924 MB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.3779, allocations: 11.92 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.3779, allocations: 11.44 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.378, allocations: 0 / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of Templates: time 0.002487/0.3804, allocations: 467.5 kB / 1.035 GB, free: 8.602 MB / 0.8106 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 -s cvode -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