Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 108 kB / 15.6 MB, free: 132 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.002512/0.002512, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.582/1.582, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.589/2.589, allocations: 390.2 MB / 0.6647 GB, free: 308 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.8281, allocations: 140.4 MB / 0.9496 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.00227/0.8304, allocations: 0.6996 MB / 0.9503 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.8315, allocations: 0.806 MB / 0.9511 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.8316, allocations: 5.281 kB / 0.9511 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.8316, allocations: 7.938 kB / 0.9511 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.8317, allocations: 5.188 kB / 0.9511 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.8319, allocations: 9.234 kB / 0.9511 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.832, allocations: 45.38 kB / 0.9511 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.8321, allocations: 9.641 kB / 0.9511 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.8322, allocations: 21.48 kB / 0.9512 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.8323, allocations: 16.86 kB / 0.9512 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.8323, allocations: 4.031 kB / 0.9512 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.8323, allocations: 12.03 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.8323, allocations: 12.95 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.8324, allocations: 15.16 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.862e-05/0.8325, allocations: 35.16 kB / 0.9513 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8325, allocations: 5.297 kB / 0.9513 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8325, allocations: 0 / 0.9513 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.8325, allocations: 0 / 0.9513 GB, free: 7.988 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005005/0.833, allocations: 365.2 kB / 0.9516 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8331, allocations: 13.25 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.8331, allocations: 3.125 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.8332, allocations: 170.9 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.8332, allocations: 5.625 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.8333, allocations: 1.812 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.8336, allocations: 71.52 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8336, allocations: 192 / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.8336, allocations: 3.938 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.8336, allocations: 1.344 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.8339, allocations: 79.88 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.8342, allocations: 262.8 kB / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.8345, allocations: 60.05 kB / 0.9523 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.8346, allocations: 39.12 kB / 0.9523 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.8347, allocations: 1.406 kB / 0.9523 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.8347, allocations: 39.84 kB / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.8347, allocations: 0 / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000625/0.8353, allocations: 133.3 kB / 0.9525 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.8354, allocations: 52.38 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.8355, allocations: 111.1 kB / 0.9526 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.8356, allocations: 26.8 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.8356, allocations: 86.36 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.8357, allocations: 12.75 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.8357, allocations: 15.97 kB / 0.9528 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.8358, allocations: 317.1 kB / 0.9531 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.836, allocations: 29.12 kB / 0.9531 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.8362, allocations: 37.45 kB / 0.9531 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.8365, allocations: 70.92 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.8365, allocations: 9.094 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003823/0.8369, allocations: 100.7 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.8369, allocations: 5.938 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8369, allocations: 4 kB / 0.9533 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.837, allocations: 0 / 0.9533 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.8371, allocations: 14.27 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.8371, allocations: 1.281 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.8372, allocations: 10.3 kB / 0.9533 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.8373, allocations: 1.281 kB / 0.9533 GB, free: 6.008 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.404e-05/0.8374, allocations: 120.3 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.8374, allocations: 1.219 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.8378, allocations: 113.4 kB / 0.9536 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8379, allocations: 0 / 0.9536 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.8379, allocations: 0 / 0.9536 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8379, allocations: 1.156 kB / 0.9536 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.8381, allocations: 169.2 kB / 0.9537 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8381, allocations: 0 / 0.9537 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.8382, allocations: 22.34 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.8382, allocations: 4.75 kB / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.8382, allocations: 1.656 kB / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8382, allocations: 0 / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8382, allocations: 0 / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.8386, allocations: 208.5 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.8387, allocations: 82.69 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.8387, allocations: 0 / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.8388, allocations: 10.64 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.8389, allocations: 2.688 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.8389, allocations: 1.438 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.8389, allocations: 88.95 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8389, allocations: 0 / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002377/0.8392, allocations: 6.156 kB / 0.9541 GB, free: 5.215 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.0002089/0.8394, allocations: 102.7 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.8398, allocations: 74.95 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8398, allocations: 0 / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.84, allocations: 40.89 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.8404, allocations: 7.438 kB / 0.9543 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.8409, allocations: 128.3 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.8411, allocations: 0.6866 MB / 0.9551 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.8411, allocations: 6 kB / 0.9551 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.8412, allocations: 9.625 kB / 0.9551 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8412, allocations: 0 / 0.9551 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of Templates: time 0.003474/0.8447, allocations: 0.6762 MB / 0.9558 GB, free: 3.883 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches