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.0007755/0.0007755, allocations: 87.98 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 177.4 kB / 16.92 MB, free: 6.23 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.027 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.723/2.723, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 12.44 kB / 0.9034 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3346, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.0009276/0.3356, allocations: 380.6 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.3357, allocations: 11.94 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.3358, allocations: 0 / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.975e-05/0.3359, allocations: 3.984 kB / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.336, allocations: 8 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.498e-05/0.3361, allocations: 0 / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3362, allocations: 47.83 kB / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.3364, allocations: 24 kB / 1.06 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.3364, allocations: 11.92 kB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.3364, allocations: 11.94 kB / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3365, allocations: 0 / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.3365, allocations: 4 kB / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.3365, allocations: 0 / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.3366, allocations: 41.58 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.378e-05/0.3367, allocations: 43.91 kB / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3367, allocations: 0 / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3367, allocations: 0 / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3367, allocations: 0 / 1.06 GB, free: 4.348 MB / 0.8106 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.000365/0.3371, allocations: 347.6 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3371, allocations: 15.97 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.3372, allocations: 8.938 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3373, allocations: 184.2 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3374, allocations: 8.312 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3374, allocations: 4.375 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3376, allocations: 74.22 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3376, allocations: 192 / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3376, allocations: 11.94 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3376, allocations: 0 / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.3377, allocations: 43.97 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.3382, allocations: 495 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.847e-05/0.3383, allocations: 169.1 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.3384, allocations: 84.08 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3384, allocations: 79.31 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.3385, allocations: 109.8 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3385, allocations: 0 / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.742e-05/0.3386, allocations: 37.61 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.3386, allocations: 126.7 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3389, allocations: 175.3 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3389, allocations: 25.7 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.3389, allocations: 96.12 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.339, allocations: 4 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.339, allocations: 9.719 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3391, allocations: 318.8 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.3391, allocations: 7.938 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.3391, allocations: 11.98 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.3392, allocations: 12.86 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3392, allocations: 0 / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000122/0.3393, allocations: 57.64 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3393, allocations: 8 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3394, allocations: 0 / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3394, allocations: 0 / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.3394, allocations: 4 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3394, allocations: 3.938 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.3395, allocations: 11.84 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3395, allocations: 3.938 kB / 1.062 GB, free: 1.621 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.000105/0.3396, allocations: 197.1 kB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.3397, allocations: 105 kB / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.3397, allocations: 112.8 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/0.3398, allocations: 184.2 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-05/0.3399, allocations: 188.2 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.729e-05/0.34, allocations: 180.2 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.3403, allocations: 417.2 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.371e-05/0.3403, allocations: 109 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.3405, allocations: 108.9 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.305e-05/0.3405, allocations: 180.3 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.3406, allocations: 184.1 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.69e-05/0.3407, allocations: 176.3 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.624e-05/0.3408, allocations: 188.2 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.341, allocations: 315.7 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3411, allocations: 190.2 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3412, allocations: 188.2 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.3413, allocations: 109 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.3414, allocations: 184.1 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.3414, allocations: 109 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001075/0.3415, allocations: 132.6 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3415, allocations: 0 / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002659/0.3418, allocations: 4 kB / 1.066 GB, free: 13.91 MB / 0.8262 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.0001662/0.342, allocations: 178.5 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.602e-05/0.3421, allocations: 11.92 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3421, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3421, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.3425, allocations: 0.5224 MB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.3429, allocations: 251.6 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3432, allocations: 0.6887 MB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.3432, allocations: 15.42 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3432, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.002227/0.3454, allocations: 0.7483 MB / 1.068 GB, free: 11.43 MB / 0.8262 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