Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Sensors.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.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 108 kB / 16.41 MB, free: 6.512 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.001175/0.001175, allocations: 187 kB / 17.34 MB, free: 5.742 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.42/1.42, 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.604/2.604, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.83 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.944/0.9456, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.279/1.225, allocations: 261.9 MB / 1.464 GB, free: 6.734 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02365/1.248, allocations: 19.13 MB / 1.483 GB, free: 3.535 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/1.25, allocations: 51.75 kB / 1.483 GB, free: 3.484 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/1.253, allocations: 0.7413 MB / 1.484 GB, free: 2.738 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005354/1.258, allocations: 1.827 MB / 1.485 GB, free: 0.9062 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005261/1.264, allocations: 1.456 MB / 1.487 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005028/1.269, allocations: 3.081 MB / 1.49 GB, free: 12.36 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/1.271, allocations: 1.238 MB / 1.491 GB, free: 11.1 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008711/1.28, allocations: 3.204 MB / 1.494 GB, free: 7.891 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/1.282, allocations: 1.004 MB / 1.495 GB, free: 6.883 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003942/1.282, allocations: 104 kB / 1.495 GB, free: 6.781 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/1.286, allocations: 1.516 MB / 1.497 GB, free: 5.262 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006766/1.287, allocations: 414.7 kB / 1.497 GB, free: 4.855 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001522/1.288, allocations: 0.7036 MB / 1.498 GB, free: 4.148 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00421/1.293, allocations: 2.064 MB / 1.5 GB, free: 2.078 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.293, allocations: 0 / 1.5 GB, free: 2.078 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.202e-06/1.293, allocations: 0 / 1.5 GB, free: 2.078 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.677e-05/1.293, allocations: 0 / 1.5 GB, free: 2.078 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002882/1.296, allocations: 1.58 MB / 1.501 GB, free: 456 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.296, allocations: 12.03 kB / 1.501 GB, free: 444 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.297, allocations: 282 kB / 1.502 GB, free: 160 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.298, allocations: 0.8701 MB / 1.503 GB, free: 15.24 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/1.298, allocations: 77.94 kB / 1.503 GB, free: 15.16 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/1.299, allocations: 92 kB / 1.503 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/1.3, allocations: 1.003 MB / 1.504 GB, free: 14.01 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.3, allocations: 7.938 kB / 1.504 GB, free: 14 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/1.3, allocations: 39.98 kB / 1.504 GB, free: 13.96 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/1.3, allocations: 24 kB / 1.504 GB, free: 13.94 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009591/1.301, allocations: 0.6479 MB / 1.504 GB, free: 13.29 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/1.306, allocations: 4.703 MB / 1.509 GB, free: 8.25 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/1.306, allocations: 246.8 kB / 1.509 GB, free: 8 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/1.306, allocations: 133.3 kB / 1.509 GB, free: 7.867 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005589/1.307, allocations: 303.2 kB / 1.51 GB, free: 7.516 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.307, allocations: 46.48 kB / 1.51 GB, free: 7.461 MB / 1.232 GB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/1.307, allocations: 0 / 1.51 GB, free: 7.461 MB / 1.232 GB Notification: Performance of matching and sorting (n=29): time 0.0009605/1.308, allocations: 474.1 kB / 1.51 GB, free: 6.992 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/1.308, allocations: 59.41 kB / 1.51 GB, free: 6.922 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/1.309, allocations: 1.099 MB / 1.511 GB, free: 5.812 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/1.309, allocations: 33.7 kB / 1.511 GB, free: 5.773 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/1.31, allocations: 0.5935 MB / 1.512 GB, free: 5.176 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.31, allocations: 110.5 kB / 1.512 GB, free: 5.066 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/1.31, allocations: 118.1 kB / 1.512 GB, free: 4.945 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.31, allocations: 326 kB / 1.512 GB, free: 4.621 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/1.31, allocations: 147 kB / 1.513 GB, free: 4.473 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/1.311, allocations: 429.5 kB / 1.513 GB, free: 3.926 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/1.311, allocations: 0.5303 MB / 1.513 GB, free: 3.293 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.311, allocations: 0 / 1.513 GB, free: 3.293 MB / 1.232 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008603/1.312, allocations: 0.6283 MB / 1.514 GB, free: 2.656 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.312, allocations: 8.969 kB / 1.514 GB, free: 2.648 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.312, allocations: 11.94 kB / 1.514 GB, free: 2.637 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/1.312, allocations: 15.94 kB / 1.514 GB, free: 2.621 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/1.313, allocations: 187.8 kB / 1.514 GB, free: 2.438 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/1.315, allocations: 2.352 MB / 1.517 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/1.315, allocations: 86.97 kB / 1.517 GB, free: 15.9 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/1.315, allocations: 36.22 kB / 1.517 GB, free: 15.87 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004858/1.316, allocations: 377 kB / 1.517 GB, free: 15.5 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005445/1.316, allocations: 429.1 kB / 1.517 GB, free: 14.95 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006705/1.317, allocations: 0.5228 MB / 1.518 GB, free: 14.33 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.033e-06/1.317, allocations: 4 kB / 1.518 GB, free: 14.32 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009302/1.318, allocations: 0.6089 MB / 1.519 GB, free: 13.71 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.318, allocations: 8.938 kB / 1.519 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.318, allocations: 8 kB / 1.519 GB, free: 13.69 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/1.318, allocations: 11.94 kB / 1.519 GB, free: 13.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/1.318, allocations: 135.8 kB / 1.519 GB, free: 13.55 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.318, allocations: 11.94 kB / 1.519 GB, free: 13.54 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/1.319, allocations: 55.58 kB / 1.519 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/1.319, allocations: 28 kB / 1.519 GB, free: 13.45 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000217/1.319, allocations: 220.1 kB / 1.519 GB, free: 13.23 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/1.319, allocations: 114.5 kB / 1.519 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/1.32, allocations: 413.4 kB / 1.52 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/1.32, allocations: 4 kB / 1.52 GB, free: 12.7 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.32, allocations: 0 / 1.52 GB, free: 12.7 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.32, allocations: 0 / 1.52 GB, free: 12.7 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/1.322, allocations: 1.297 MB / 1.521 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/1.322, allocations: 4 kB / 1.521 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/1.322, allocations: 92.25 kB / 1.521 GB, free: 11.23 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.322, allocations: 4 kB / 1.521 GB, free: 11.23 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/1.322, allocations: 19.92 kB / 1.521 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/1.324, allocations: 2.34 MB / 1.523 GB, free: 8.773 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.324, allocations: 4.031 kB / 1.523 GB, free: 8.77 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007906/1.324, allocations: 0.6759 MB / 1.524 GB, free: 8.047 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/1.325, allocations: 219.6 kB / 1.524 GB, free: 7.812 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.325, allocations: 11.98 kB / 1.524 GB, free: 7.801 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/1.325, allocations: 11.94 kB / 1.524 GB, free: 7.789 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/1.325, allocations: 31.84 kB / 1.524 GB, free: 7.758 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/1.325, allocations: 12 kB / 1.524 GB, free: 7.746 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008648/1.326, allocations: 0.7454 MB / 1.525 GB, free: 6.996 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.5e-07/1.326, allocations: 4 kB / 1.525 GB, free: 6.992 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001178/1.327, allocations: 491.1 kB / 1.525 GB, free: 6.512 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hum.senMasFra.X,ent.senSpeEnt.h_out,tem.senTem.T) * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004662/1.328, allocations: 216.7 kB / 1.526 GB, free: 6.301 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001545/1.329, allocations: 0.6684 MB / 1.526 GB, free: 5.637 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.329, allocations: 0 / 1.526 GB, free: 5.637 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/1.33, allocations: 174.9 kB / 1.526 GB, free: 5.469 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/1.332, allocations: 0.6147 MB / 1.527 GB, free: 4.863 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/1.335, allocations: 1.926 MB / 1.529 GB, free: 2.867 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/1.336, allocations: 1.107 MB / 1.53 GB, free: 1.73 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/1.336, allocations: 79.42 kB / 1.53 GB, free: 1.652 MB / 1.248 GB Notification: Performance of SimCode: time 2.5e-07/1.336, allocations: 4 kB / 1.53 GB, free: 1.648 MB / 1.248 GB Notification: Performance of Templates: time 0.6788/2.015, allocations: 36.2 MB / 1.565 GB, free: 354 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches