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.0009952/0.0009953, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007112/0.007112, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.528/1.528, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.975/2.975, allocations: 462.7 MB / 0.7364 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 8.781 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4017, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.046/1.448, allocations: 256.4 MB / 1.309 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0235/1.471, allocations: 18.96 MB / 1.328 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/1.474, allocations: 40.66 kB / 1.328 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/1.477, allocations: 0.6088 MB / 1.328 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006945/1.484, allocations: 1.722 MB / 1.33 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004747/1.489, allocations: 1.296 MB / 1.331 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006852/1.495, allocations: 4.538 MB / 1.336 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/1.498, allocations: 0.9684 MB / 1.336 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009601/1.507, allocations: 2.905 MB / 1.339 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/1.51, allocations: 0.9875 MB / 1.34 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002969/1.51, allocations: 50.88 kB / 1.34 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/1.515, allocations: 1.712 MB / 1.342 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006306/1.516, allocations: 368.2 kB / 1.342 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002012/1.518, allocations: 0.6542 MB / 1.343 GB, free: 17.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004049/1.522, allocations: 2.068 MB / 1.345 GB, free: 17.28 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.522, allocations: 0 / 1.345 GB, free: 17.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.156e-06/1.522, allocations: 1.781 kB / 1.345 GB, free: 17.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.01e-05/1.522, allocations: 0 / 1.345 GB, free: 17.28 MB / 1.014 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.002153/1.524, allocations: 1.361 MB / 1.346 GB, free: 16.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.524, allocations: 8.281 kB / 1.346 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.525, allocations: 282.6 kB / 1.347 GB, free: 16.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/1.527, allocations: 0.8273 MB / 1.347 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/1.527, allocations: 68.72 kB / 1.347 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.527, allocations: 97.19 kB / 1.348 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/1.529, allocations: 0.9799 MB / 1.349 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/1.529, allocations: 4.844 kB / 1.349 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/1.529, allocations: 38.84 kB / 1.349 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/1.529, allocations: 30.34 kB / 1.349 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/1.53, allocations: 0.6461 MB / 1.349 GB, free: 15.79 MB / 1.014 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.004703/1.534, allocations: 4.392 MB / 1.354 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/1.535, allocations: 251.2 kB / 1.354 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/1.535, allocations: 127.5 kB / 1.354 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/1.536, allocations: 320.2 kB / 1.354 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.536, allocations: 36.22 kB / 1.354 GB, free: 12.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.835e-06/1.536, allocations: 0 / 1.354 GB, free: 12.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001023/1.537, allocations: 492.4 kB / 1.355 GB, free: 12.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/1.537, allocations: 57.61 kB / 1.355 GB, free: 12.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/1.538, allocations: 1.084 MB / 1.356 GB, free: 12.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/1.538, allocations: 37.98 kB / 1.356 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/1.539, allocations: 0.5831 MB / 1.356 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/1.539, allocations: 108.3 kB / 1.357 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/1.539, allocations: 50.2 kB / 1.357 GB, free: 12.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.539, allocations: 329 kB / 1.357 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/1.539, allocations: 130.9 kB / 1.357 GB, free: 11.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/1.54, allocations: 402.7 kB / 1.357 GB, free: 11.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/1.54, allocations: 0.502 MB / 1.358 GB, free: 11.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.54, allocations: 3.312 kB / 1.358 GB, free: 11.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009577/1.541, allocations: 0.588 MB / 1.358 GB, free: 11.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/1.542, allocations: 291.7 kB / 1.359 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.542, allocations: 6.188 kB / 1.359 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.542, allocations: 12.41 kB / 1.359 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/1.543, allocations: 171.2 kB / 1.359 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/1.544, allocations: 2.351 MB / 1.361 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/1.545, allocations: 121.2 kB / 1.361 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/1.545, allocations: 32.72 kB / 1.361 GB, free: 8.332 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/1.545, allocations: 7.781 kB / 1.361 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007397/1.546, allocations: 461.5 kB / 1.362 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.546, allocations: 9.75 kB / 1.362 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.546, allocations: 18.34 kB / 1.362 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/1.546, allocations: 110.4 kB / 1.362 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.546, allocations: 18.45 kB / 1.362 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/1.547, allocations: 123.1 kB / 1.362 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/1.547, allocations: 24.81 kB / 1.362 GB, free: 8.266 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (63): * Single equations (assignments): 59 * 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.0005976/1.548, allocations: 362.3 kB / 1.362 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/1.548, allocations: 114.1 kB / 1.363 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007918/1.549, allocations: 406.2 kB / 1.363 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.549, allocations: 2.906 kB / 1.363 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.549, allocations: 3.281 kB / 1.363 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.549, allocations: 3.094 kB / 1.363 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/1.551, allocations: 1.3 MB / 1.364 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.551, allocations: 10.91 kB / 1.364 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/1.552, allocations: 85.67 kB / 1.364 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/1.552, allocations: 3.156 kB / 1.364 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.552, allocations: 9.094 kB / 1.364 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/1.553, allocations: 2.356 MB / 1.367 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/1.553, allocations: 5.938 kB / 1.367 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009383/1.554, allocations: 0.6575 MB / 1.367 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005478/1.555, allocations: 220.7 kB / 1.367 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/1.555, allocations: 7.25 kB / 1.367 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006438/1.556, allocations: 56.81 kB / 1.368 GB, free: 4.746 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/1.556, allocations: 28.2 kB / 1.368 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/1.556, allocations: 11.92 kB / 1.368 GB, free: 4.742 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001284/1.557, allocations: 0.7402 MB / 1.368 GB, free: 4.633 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.557, allocations: 0 / 1.368 GB, free: 4.633 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001907/1.559, allocations: 492.6 kB / 1.369 GB, free: 4.578 MB / 1.014 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.0006048/1.559, allocations: 210.5 kB / 1.369 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001709/1.561, allocations: 0.6518 MB / 1.37 GB, free: 4.449 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.629e-06/1.561, allocations: 0 / 1.37 GB, free: 4.449 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/1.562, allocations: 168.4 kB / 1.37 GB, free: 4.449 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/1.565, allocations: 0.592 MB / 1.37 GB, free: 4.402 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/1.569, allocations: 2.327 MB / 1.373 GB, free: 3.051 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008855/1.57, allocations: 1.112 MB / 1.374 GB, free: 2.328 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001254/1.572, allocations: 240.2 kB / 1.374 GB, free: 2.273 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/1.572, allocations: 68.84 kB / 1.374 GB, free: 2.266 MB / 1.014 GB Notification: Performance of SimCode: time 1.754e-06/1.572, allocations: 0 / 1.374 GB, free: 2.266 MB / 1.014 GB Notification: Performance of Templates: time 0.03787/1.61, allocations: 18.81 MB / 1.392 GB, free: 9.645 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches