Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_10_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_10_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01277/0.01277, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002906/0.002906, allocations: 196.7 kB / 16.67 MB, free: 5.52 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.11 kB / 1.018 GB, free: 9.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.2, allocations: 151.6 MB / 1.166 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.3263/1.527, allocations: 261.9 MB / 1.422 GB, free: 13.09 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03496/1.562, allocations: 19.13 MB / 1.441 GB, free: 9.898 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/1.565, allocations: 51.69 kB / 1.441 GB, free: 9.848 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003211/1.568, allocations: 0.7647 MB / 1.441 GB, free: 9.078 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00733/1.575, allocations: 1.895 MB / 1.443 GB, free: 7.176 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/1.581, allocations: 1.474 MB / 1.445 GB, free: 5.703 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005595/1.587, allocations: 3.093 MB / 1.448 GB, free: 2.598 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/1.589, allocations: 1.242 MB / 1.449 GB, free: 1.332 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/1.599, allocations: 3.282 MB / 1.452 GB, free: 14.04 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/1.602, allocations: 0.9842 MB / 1.453 GB, free: 13.05 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005116/1.602, allocations: 104 kB / 1.453 GB, free: 12.95 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004145/1.607, allocations: 1.52 MB / 1.455 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008401/1.607, allocations: 426.6 kB / 1.455 GB, free: 11.01 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/1.609, allocations: 0.6998 MB / 1.456 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004981/1.614, allocations: 2.049 MB / 1.458 GB, free: 8.25 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.614, allocations: 3.938 kB / 1.458 GB, free: 8.246 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.126e-06/1.614, allocations: 0 / 1.458 GB, free: 8.246 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.38e-05/1.614, allocations: 0 / 1.458 GB, free: 8.246 MB / 1.186 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.002485/1.617, allocations: 1.577 MB / 1.459 GB, free: 6.613 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.617, allocations: 8.922 kB / 1.459 GB, free: 6.605 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/1.617, allocations: 139.7 kB / 1.459 GB, free: 6.461 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.619, allocations: 282.1 kB / 1.46 GB, free: 6.184 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.62, allocations: 0.8702 MB / 1.461 GB, free: 5.27 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/1.62, allocations: 77.94 kB / 1.461 GB, free: 5.195 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.62, allocations: 88 kB / 1.461 GB, free: 5.109 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/1.622, allocations: 1.011 MB / 1.462 GB, free: 4.031 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.622, allocations: 0 / 1.462 GB, free: 4.031 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.668e-05/1.622, allocations: 36 kB / 1.462 GB, free: 3.996 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/1.622, allocations: 24 kB / 1.462 GB, free: 3.973 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009972/1.623, allocations: 0.644 MB / 1.462 GB, free: 3.332 MB / 1.186 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.005057/1.628, allocations: 4.696 MB / 1.467 GB, free: 14.3 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/1.628, allocations: 249.5 kB / 1.467 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/1.629, allocations: 136.8 kB / 1.467 GB, free: 13.91 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006273/1.629, allocations: 307.2 kB / 1.468 GB, free: 13.56 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.629, allocations: 38.55 kB / 1.468 GB, free: 13.51 MB / 1.201 GB Notification: Performance of pre-optimization done (n=29): time 2.234e-06/1.629, allocations: 0 / 1.468 GB, free: 13.51 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.001046/1.63, allocations: 484.1 kB / 1.468 GB, free: 13.03 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/1.63, allocations: 59.41 kB / 1.468 GB, free: 12.96 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.632, allocations: 1.09 MB / 1.469 GB, free: 11.86 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/1.632, allocations: 29.7 kB / 1.469 GB, free: 11.82 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/1.632, allocations: 0.5817 MB / 1.47 GB, free: 11.24 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/1.632, allocations: 106.4 kB / 1.47 GB, free: 11.13 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/1.633, allocations: 118.1 kB / 1.47 GB, free: 11.01 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.633, allocations: 326 kB / 1.47 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/1.633, allocations: 147 kB / 1.47 GB, free: 10.54 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/1.634, allocations: 429.3 kB / 1.471 GB, free: 9.996 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/1.634, allocations: 0.5347 MB / 1.471 GB, free: 9.359 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-06/1.634, allocations: 0 / 1.471 GB, free: 9.359 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001127/1.635, allocations: 0.6205 MB / 1.472 GB, free: 8.73 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/1.635, allocations: 11.94 kB / 1.472 GB, free: 8.719 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/1.635, allocations: 8.844 kB / 1.472 GB, free: 8.711 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/1.636, allocations: 12 kB / 1.472 GB, free: 8.699 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/1.636, allocations: 187.8 kB / 1.472 GB, free: 8.516 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/1.638, allocations: 2.356 MB / 1.475 GB, free: 6.066 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/1.638, allocations: 91.05 kB / 1.475 GB, free: 5.977 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/1.638, allocations: 31.94 kB / 1.475 GB, free: 5.945 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005291/1.639, allocations: 373.4 kB / 1.475 GB, free: 5.578 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004475/1.639, allocations: 417.5 kB / 1.475 GB, free: 5.043 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006705/1.64, allocations: 0.5335 MB / 1.476 GB, free: 4.406 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/1.64, allocations: 0 / 1.476 GB, free: 4.406 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009889/1.641, allocations: 0.6185 MB / 1.477 GB, free: 3.781 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.641, allocations: 8 kB / 1.477 GB, free: 3.773 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.641, allocations: 8 kB / 1.477 GB, free: 3.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.641, allocations: 8.812 kB / 1.477 GB, free: 3.758 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/1.642, allocations: 127.8 kB / 1.477 GB, free: 3.633 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/1.642, allocations: 19.92 kB / 1.477 GB, free: 3.613 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006096/1.642, allocations: 47.62 kB / 1.477 GB, free: 3.566 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/1.642, allocations: 31.98 kB / 1.477 GB, free: 3.535 MB / 1.201 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.0001875/1.643, allocations: 220 kB / 1.477 GB, free: 3.312 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/1.643, allocations: 110.6 kB / 1.477 GB, free: 3.203 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007511/1.643, allocations: 412.8 kB / 1.477 GB, free: 2.789 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.643, allocations: 4 kB / 1.477 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.644, allocations: 3.938 kB / 1.477 GB, free: 2.781 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.644, allocations: 3.984 kB / 1.477 GB, free: 2.777 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/1.646, allocations: 1.284 MB / 1.479 GB, free: 1.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.646, allocations: 4.062 kB / 1.479 GB, free: 1.406 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/1.646, allocations: 100.1 kB / 1.479 GB, free: 1.309 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/1.646, allocations: 8 kB / 1.479 GB, free: 1.301 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/1.646, allocations: 11.98 kB / 1.479 GB, free: 1.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/1.647, allocations: 2.34 MB / 1.481 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.647, allocations: 7.938 kB / 1.481 GB, free: 14.85 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/1.648, allocations: 0.6655 MB / 1.482 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/1.648, allocations: 223.7 kB / 1.482 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.649, allocations: 19.92 kB / 1.482 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/1.649, allocations: 11.98 kB / 1.482 GB, free: 13.87 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/1.649, allocations: 19.97 kB / 1.482 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/1.649, allocations: 12 kB / 1.482 GB, free: 13.84 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001087/1.65, allocations: 0.7408 MB / 1.483 GB, free: 13.09 MB / 1.217 GB Notification: Performance of sort global known variables: time 5.61e-07/1.65, allocations: 0 / 1.483 GB, free: 13.09 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001453/1.652, allocations: 499.1 kB / 1.483 GB, free: 12.6 MB / 1.217 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.001542/1.653, allocations: 1.303 MB / 1.485 GB, free: 11.25 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001737/1.655, allocations: 0.6766 MB / 1.485 GB, free: 10.58 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.655, allocations: 4.062 kB / 1.485 GB, free: 10.58 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/1.655, allocations: 175.7 kB / 1.485 GB, free: 10.41 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.658, allocations: 0.5848 MB / 1.486 GB, free: 9.828 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.67, allocations: 7.872 MB / 1.494 GB, free: 1.562 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/1.671, allocations: 1.099 MB / 1.495 GB, free: 444 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009717/1.672, allocations: 249.4 kB / 1.495 GB, free: 192 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/1.672, allocations: 411.4 kB / 1.495 GB, free: 15.78 MB / 1.232 GB Notification: Performance of SimCode: time 1.202e-06/1.672, allocations: 0 / 1.495 GB, free: 15.78 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06953/1.742, allocations: 29.62 MB / 1.524 GB, free: 2.539 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/15.5, allocations: 16.47 kB / 1.524 GB, free: 2.523 MB / 1.248 GB (rm -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.mat --tempDir=temp_Buildings_10_Buildings_Templates_Components_Validation_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Templates_Components_Validation_Sensors.fmu > Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches