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.008329/0.008329, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001922/0.001922, allocations: 202.5 kB / 16.68 MB, free: 5.973 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.934/2.934, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.194/1.569, allocations: 261.9 MB / 1.422 GB, free: 11.37 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02594/1.595, allocations: 19.11 MB / 1.441 GB, free: 11.73 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/1.597, allocations: 47.69 kB / 1.441 GB, free: 11.68 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/1.6, allocations: 0.7491 MB / 1.441 GB, free: 10.93 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006369/1.606, allocations: 1.812 MB / 1.443 GB, free: 9.113 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004502/1.611, allocations: 1.464 MB / 1.445 GB, free: 7.648 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005113/1.616, allocations: 3.092 MB / 1.448 GB, free: 4.547 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/1.618, allocations: 1.233 MB / 1.449 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00853/1.626, allocations: 3.18 MB / 1.452 GB, free: 112 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/1.628, allocations: 0.9881 MB / 1.453 GB, free: 15.12 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/1.628, allocations: 100 kB / 1.453 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003395/1.632, allocations: 1.52 MB / 1.454 GB, free: 13.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004852/1.632, allocations: 430.7 kB / 1.455 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009386/1.633, allocations: 0.6998 MB / 1.456 GB, free: 12.37 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/1.637, allocations: 2.051 MB / 1.458 GB, free: 10.31 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/1.637, allocations: 0 / 1.458 GB, free: 10.31 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.263e-06/1.637, allocations: 4 kB / 1.458 GB, free: 10.31 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.559e-05/1.637, allocations: 0 / 1.458 GB, free: 10.31 MB / 1.123 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.002501/1.639, allocations: 1.614 MB / 1.459 GB, free: 8.637 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.639, allocations: 12.03 kB / 1.459 GB, free: 8.625 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/1.639, allocations: 144.9 kB / 1.459 GB, free: 8.477 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/1.641, allocations: 294.8 kB / 1.46 GB, free: 8.188 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/1.642, allocations: 0.875 MB / 1.46 GB, free: 7.27 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/1.642, allocations: 74 kB / 1.46 GB, free: 7.199 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.643, allocations: 96 kB / 1.461 GB, free: 7.105 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/1.644, allocations: 0.9993 MB / 1.462 GB, free: 6.039 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.644, allocations: 3.938 kB / 1.462 GB, free: 6.035 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/1.644, allocations: 36 kB / 1.462 GB, free: 6 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/1.644, allocations: 24 kB / 1.462 GB, free: 5.977 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/1.645, allocations: 0.644 MB / 1.462 GB, free: 5.336 MB / 1.123 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.005059/1.651, allocations: 4.713 MB / 1.467 GB, free: 296 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/1.651, allocations: 247.3 kB / 1.467 GB, free: 40 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/1.651, allocations: 133.8 kB / 1.467 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/1.652, allocations: 299.2 kB / 1.467 GB, free: 15.56 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/1.652, allocations: 46.48 kB / 1.467 GB, free: 15.5 MB / 1.139 GB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/1.652, allocations: 4 kB / 1.468 GB, free: 15.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.001048/1.653, allocations: 486.2 kB / 1.468 GB, free: 15.02 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/1.653, allocations: 59.34 kB / 1.468 GB, free: 14.95 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.654, allocations: 1.083 MB / 1.469 GB, free: 13.86 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/1.654, allocations: 29.7 kB / 1.469 GB, free: 13.82 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/1.655, allocations: 0.5983 MB / 1.47 GB, free: 13.22 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/1.655, allocations: 107.1 kB / 1.47 GB, free: 13.11 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/1.655, allocations: 130.1 kB / 1.47 GB, free: 12.98 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.655, allocations: 322 kB / 1.47 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/1.656, allocations: 143 kB / 1.47 GB, free: 12.52 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/1.656, allocations: 429.5 kB / 1.471 GB, free: 11.97 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/1.657, allocations: 0.5314 MB / 1.471 GB, free: 11.34 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.657, allocations: 0 / 1.471 GB, free: 11.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001002/1.658, allocations: 0.6298 MB / 1.472 GB, free: 10.7 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.658, allocations: 15.94 kB / 1.472 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.658, allocations: 4 kB / 1.472 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/1.658, allocations: 12 kB / 1.472 GB, free: 10.67 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008804/1.659, allocations: 180.1 kB / 1.472 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/1.66, allocations: 2.36 MB / 1.474 GB, free: 8.043 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/1.661, allocations: 95.28 kB / 1.475 GB, free: 7.949 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/1.661, allocations: 31.94 kB / 1.475 GB, free: 7.918 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005778/1.662, allocations: 373 kB / 1.475 GB, free: 7.551 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004777/1.662, allocations: 421.7 kB / 1.475 GB, free: 7.012 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006922/1.663, allocations: 0.5298 MB / 1.476 GB, free: 6.379 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/1.663, allocations: 0 / 1.476 GB, free: 6.379 MB / 1.139 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009751/1.664, allocations: 0.6243 MB / 1.476 GB, free: 5.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.664, allocations: 12.03 kB / 1.476 GB, free: 5.738 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.664, allocations: 8 kB / 1.476 GB, free: 5.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.664, allocations: 12 kB / 1.476 GB, free: 5.719 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/1.664, allocations: 119.8 kB / 1.477 GB, free: 5.602 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/1.664, allocations: 23.86 kB / 1.477 GB, free: 5.578 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/1.665, allocations: 47.72 kB / 1.477 GB, free: 5.531 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/1.665, allocations: 28 kB / 1.477 GB, free: 5.504 MB / 1.139 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.0002214/1.665, allocations: 228 kB / 1.477 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.665, allocations: 115.2 kB / 1.477 GB, free: 5.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/1.666, allocations: 409 kB / 1.477 GB, free: 4.75 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.666, allocations: 4 kB / 1.477 GB, free: 4.746 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.666, allocations: 3.938 kB / 1.477 GB, free: 4.742 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.666, allocations: 3.984 kB / 1.477 GB, free: 4.738 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/1.668, allocations: 1.29 MB / 1.479 GB, free: 3.367 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.668, allocations: 4 kB / 1.479 GB, free: 3.363 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/1.669, allocations: 91.89 kB / 1.479 GB, free: 3.273 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-06/1.669, allocations: 7.984 kB / 1.479 GB, free: 3.266 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/1.669, allocations: 11.98 kB / 1.479 GB, free: 3.254 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/1.67, allocations: 2.34 MB / 1.481 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.67, allocations: 11.92 kB / 1.481 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/1.671, allocations: 0.6701 MB / 1.482 GB, free: 96 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/1.671, allocations: 224.2 kB / 1.482 GB, free: 15.86 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.672, allocations: 15.98 kB / 1.482 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/1.672, allocations: 8 kB / 1.482 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/1.672, allocations: 23.97 kB / 1.482 GB, free: 15.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.672, allocations: 12 kB / 1.482 GB, free: 15.8 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001017/1.673, allocations: 0.7409 MB / 1.483 GB, free: 15.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.673, allocations: 0 / 1.483 GB, free: 15.05 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001339/1.674, allocations: 0.4913 MB / 1.483 GB, free: 14.56 MB / 1.154 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.00167/1.676, allocations: 1.312 MB / 1.484 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.678, allocations: 0.6847 MB / 1.485 GB, free: 12.52 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.678, allocations: 4 kB / 1.485 GB, free: 12.51 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/1.678, allocations: 173.2 kB / 1.485 GB, free: 12.34 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.681, allocations: 0.5926 MB / 1.486 GB, free: 11.76 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.692, allocations: 7.902 MB / 1.494 GB, free: 3.465 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/1.693, allocations: 1.114 MB / 1.495 GB, free: 2.32 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009545/1.694, allocations: 253.4 kB / 1.495 GB, free: 2.07 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/1.695, allocations: 411.3 kB / 1.495 GB, free: 1.668 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/1.695, allocations: 0 / 1.495 GB, free: 1.668 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07629/1.771, allocations: 29.61 MB / 1.524 GB, free: 4.52 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.83, allocations: 12.05 kB / 1.524 GB, free: 4.508 MB / 1.186 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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