Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002326/0.002326, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.538/1.538, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.561/2.561, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 75.88 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/0.8356, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002654/0.8383, allocations: 0.7167 MB / 0.9498 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.8396, allocations: 0.8519 MB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.8397, allocations: 1.375 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.8397, allocations: 4 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/0.8398, allocations: 0 / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.84, allocations: 14.67 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.8401, allocations: 13.62 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.8402, allocations: 10.73 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.8403, allocations: 4.125 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.8404, allocations: 14.67 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.8404, allocations: 1.375 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.8404, allocations: 2.75 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.8405, allocations: 15.92 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.8405, allocations: 6.688 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.059e-05/0.8406, allocations: 28.02 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8406, allocations: 3.938 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.317e-06/0.8406, allocations: 0 / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.8406, allocations: 0 / 0.9508 GB, free: 7.758 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004691/0.8411, allocations: 339.2 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.8412, allocations: 8.938 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.8412, allocations: 3.375 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.8413, allocations: 169.7 kB / 0.9513 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.8414, allocations: 384 / 0.9513 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.8414, allocations: 1.5 kB / 0.9513 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.8416, allocations: 49.98 kB / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8416, allocations: 192 / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.8416, allocations: 3.938 kB / 0.9513 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.8416, allocations: 5.188 kB / 0.9513 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.8418, allocations: 42.83 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.8421, allocations: 241.2 kB / 0.9516 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.8423, allocations: 38.94 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.79e-05/0.8424, allocations: 26.17 kB / 0.9517 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.8424, allocations: 5.188 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.8424, allocations: 30.56 kB / 0.9517 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8424, allocations: 1.219 kB / 0.9517 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003714/0.8428, allocations: 79.48 kB / 0.9518 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.8429, allocations: 52.56 kB / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.843, allocations: 98.8 kB / 0.9519 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.843, allocations: 29.7 kB / 0.9519 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.843, allocations: 85.39 kB / 0.952 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.8431, allocations: 13.14 kB / 0.952 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.8431, allocations: 12.25 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.8432, allocations: 312.1 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.8433, allocations: 21.11 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.8434, allocations: 20.88 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.8436, allocations: 43.64 kB / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8436, allocations: 0 / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.8438, allocations: 69.03 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.8438, allocations: 5.312 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8438, allocations: 0 / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.8439, allocations: 4.281 kB / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.844, allocations: 10.14 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.844, allocations: 1.25 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.8441, allocations: 3.188 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.8441, allocations: 1.438 kB / 0.9525 GB, free: 5.949 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 (2): * Single equations (assignments): 2 * 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.703e-05/0.8442, allocations: 111.3 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.8442, allocations: 9.297 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.8443, allocations: 15.05 kB / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8443, allocations: 5.312 kB / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8443, allocations: 0 / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8443, allocations: 0 / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.8445, allocations: 159 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8445, allocations: 0 / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.8446, allocations: 13.42 kB / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8446, allocations: 1.531 kB / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.8446, allocations: 0 / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8446, allocations: 0 / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.8446, allocations: 0 / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.8449, allocations: 167.5 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.8449, allocations: 78.52 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.845, allocations: 0 / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.845, allocations: 8.547 kB / 0.9531 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.8451, allocations: 5.781 kB / 0.9531 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.8451, allocations: 0 / 0.9531 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.8452, allocations: 89.89 kB / 0.9531 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8452, allocations: 1.188 kB / 0.9531 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002179/0.8454, allocations: 2.625 kB / 0.9531 GB, free: 5.254 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 (2): * Single equations (assignments): 2 * 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.0002033/0.8456, allocations: 98.53 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.8459, allocations: 40.83 kB / 0.9533 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8459, allocations: 4 kB / 0.9533 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.846, allocations: 23.8 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.8464, allocations: 6.562 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.8468, allocations: 112.8 kB / 0.9534 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.847, allocations: 0.681 MB / 0.9541 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.847, allocations: 64 / 0.9541 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.8471, allocations: 12.66 kB / 0.9541 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8471, allocations: 2.219 kB / 0.9541 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.003182/0.8503, allocations: 385.9 kB / 0.9545 GB, free: 4.094 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches