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.001433/0.001433, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.001483/0.001484, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 68.09 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8394, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.2805/1.12, allocations: 261.9 MB / 1.464 GB, free: 6.695 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02401/1.144, allocations: 19.12 MB / 1.483 GB, free: 3.508 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/1.146, allocations: 47.75 kB / 1.483 GB, free: 3.461 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002434/1.149, allocations: 0.7608 MB / 1.484 GB, free: 2.695 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005292/1.154, allocations: 1.91 MB / 1.486 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004249/1.158, allocations: 1.471 MB / 1.487 GB, free: 15.31 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004802/1.163, allocations: 3.092 MB / 1.49 GB, free: 12.21 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/1.165, allocations: 1.249 MB / 1.491 GB, free: 10.94 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008601/1.174, allocations: 3.28 MB / 1.494 GB, free: 7.652 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/1.176, allocations: 0.9919 MB / 1.495 GB, free: 6.656 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003806/1.176, allocations: 104 kB / 1.495 GB, free: 6.555 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/1.18, allocations: 1.516 MB / 1.497 GB, free: 5.035 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006236/1.18, allocations: 430.6 kB / 1.497 GB, free: 4.613 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/1.182, allocations: 0.7036 MB / 1.498 GB, free: 3.906 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004475/1.186, allocations: 2.06 MB / 1.5 GB, free: 1.84 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.186, allocations: 4 kB / 1.5 GB, free: 1.836 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.114e-06/1.186, allocations: 0 / 1.5 GB, free: 1.836 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.307e-05/1.186, allocations: 0 / 1.5 GB, free: 1.836 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.003134/1.19, allocations: 1.573 MB / 1.502 GB, free: 216 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.19, allocations: 16.03 kB / 1.502 GB, free: 200 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/1.191, allocations: 282.1 kB / 1.502 GB, free: 15.91 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/1.193, allocations: 0.87 MB / 1.503 GB, free: 15 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/1.193, allocations: 77.94 kB / 1.503 GB, free: 14.93 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/1.193, allocations: 92 kB / 1.503 GB, free: 14.84 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/1.195, allocations: 1.003 MB / 1.504 GB, free: 13.77 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/1.195, allocations: 3.938 kB / 1.504 GB, free: 13.77 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/1.195, allocations: 36 kB / 1.504 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/1.195, allocations: 24 kB / 1.504 GB, free: 13.71 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/1.196, allocations: 0.6478 MB / 1.505 GB, free: 13.06 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.004774/1.201, allocations: 4.707 MB / 1.509 GB, free: 8.016 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/1.201, allocations: 250.8 kB / 1.509 GB, free: 7.762 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/1.201, allocations: 133.3 kB / 1.51 GB, free: 7.629 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/1.202, allocations: 303.2 kB / 1.51 GB, free: 7.277 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/1.202, allocations: 42.44 kB / 1.51 GB, free: 7.227 MB / 1.232 GB Notification: Performance of pre-optimization done (n=29): time 2.104e-06/1.202, allocations: 4 kB / 1.51 GB, free: 7.223 MB / 1.232 GB Notification: Performance of matching and sorting (n=29): time 0.0009716/1.203, allocations: 482.1 kB / 1.51 GB, free: 6.746 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.203, allocations: 55.41 kB / 1.51 GB, free: 6.68 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.204, allocations: 1.103 MB / 1.511 GB, free: 5.566 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/1.204, allocations: 33.7 kB / 1.511 GB, free: 5.527 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/1.205, allocations: 0.5896 MB / 1.512 GB, free: 4.934 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.205, allocations: 110.5 kB / 1.512 GB, free: 4.824 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/1.205, allocations: 118.1 kB / 1.512 GB, free: 4.703 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.205, allocations: 330 kB / 1.513 GB, free: 4.375 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/1.206, allocations: 143 kB / 1.513 GB, free: 4.23 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/1.206, allocations: 429.5 kB / 1.513 GB, free: 3.684 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/1.207, allocations: 0.5266 MB / 1.514 GB, free: 3.055 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/1.207, allocations: 4 kB / 1.514 GB, free: 3.051 MB / 1.232 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001053/1.208, allocations: 0.6369 MB / 1.514 GB, free: 2.406 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.208, allocations: 9.719 kB / 1.514 GB, free: 2.398 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.208, allocations: 8 kB / 1.514 GB, free: 2.391 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/1.208, allocations: 12 kB / 1.514 GB, free: 2.379 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008961/1.209, allocations: 179.8 kB / 1.514 GB, free: 2.203 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/1.21, allocations: 2.356 MB / 1.517 GB, free: 15.75 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/1.211, allocations: 94.91 kB / 1.517 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/1.211, allocations: 31.98 kB / 1.517 GB, free: 15.63 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000574/1.212, allocations: 365.1 kB / 1.517 GB, free: 15.27 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004153/1.212, allocations: 433.3 kB / 1.518 GB, free: 14.72 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006234/1.213, allocations: 0.5181 MB / 1.518 GB, free: 14.1 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.935e-06/1.213, allocations: 4 kB / 1.518 GB, free: 14.09 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009691/1.214, allocations: 0.6175 MB / 1.519 GB, free: 13.47 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.214, allocations: 8 kB / 1.519 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.214, allocations: 8 kB / 1.519 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.214, allocations: 11.94 kB / 1.519 GB, free: 13.44 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/1.214, allocations: 131.8 kB / 1.519 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.214, allocations: 15.94 kB / 1.519 GB, free: 13.3 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/1.215, allocations: 55.58 kB / 1.519 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/1.215, allocations: 28 kB / 1.519 GB, free: 13.21 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.0001791/1.215, allocations: 224.1 kB / 1.519 GB, free: 12.99 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.215, allocations: 114.5 kB / 1.519 GB, free: 12.88 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/1.216, allocations: 417.4 kB / 1.52 GB, free: 12.46 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.216, allocations: 0 / 1.52 GB, free: 12.46 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.216, allocations: 0 / 1.52 GB, free: 12.46 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.216, allocations: 8 kB / 1.52 GB, free: 12.45 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.218, allocations: 1.294 MB / 1.521 GB, free: 11.08 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.218, allocations: 4 kB / 1.521 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/1.219, allocations: 91.86 kB / 1.521 GB, free: 10.98 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.219, allocations: 4 kB / 1.521 GB, free: 10.98 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/1.219, allocations: 8 kB / 1.521 GB, free: 10.97 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/1.22, allocations: 2.348 MB / 1.523 GB, free: 8.531 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.22, allocations: 288 / 1.523 GB, free: 8.531 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/1.22, allocations: 0.6758 MB / 1.524 GB, free: 7.809 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/1.221, allocations: 219.6 kB / 1.524 GB, free: 7.574 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.221, allocations: 15.98 kB / 1.524 GB, free: 7.559 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/1.221, allocations: 8 kB / 1.524 GB, free: 7.551 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/1.221, allocations: 31.86 kB / 1.524 GB, free: 7.52 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/1.221, allocations: 11.98 kB / 1.524 GB, free: 7.508 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009456/1.222, allocations: 0.7454 MB / 1.525 GB, free: 6.758 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/1.222, allocations: 0 / 1.525 GB, free: 6.758 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001341/1.224, allocations: 491.1 kB / 1.526 GB, free: 6.277 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.0005067/1.224, allocations: 219.2 kB / 1.526 GB, free: 6.062 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001539/1.226, allocations: 0.6728 MB / 1.526 GB, free: 5.395 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.226, allocations: 4.062 kB / 1.526 GB, free: 5.391 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/1.226, allocations: 163.8 kB / 1.527 GB, free: 5.23 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.229, allocations: 0.6086 MB / 1.527 GB, free: 4.629 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/1.232, allocations: 1.937 MB / 1.529 GB, free: 2.621 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/1.233, allocations: 1.115 MB / 1.53 GB, free: 1.477 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/1.233, allocations: 79.42 kB / 1.53 GB, free: 1.398 MB / 1.248 GB Notification: Performance of SimCode: time 5.41e-07/1.233, allocations: 0 / 1.53 GB, free: 1.398 MB / 1.248 GB Notification: Performance of Templates: time 0.6761/1.909, allocations: 36.2 MB / 1.566 GB, free: 353.6 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