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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_latest_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.004976/0.004976, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.001121/0.001121, allocations: 192.7 kB / 16.67 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.759/2.759, allocations: 469.4 MB / 0.7422 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.89 kB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.8522, allocations: 159.1 MB / 1.22 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.2909/1.143, allocations: 261.9 MB / 1.476 GB, free: 11.4 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02276/1.166, allocations: 19.12 MB / 1.494 GB, free: 8.219 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/1.168, allocations: 55.69 kB / 1.494 GB, free: 8.164 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002343/1.171, allocations: 0.7647 MB / 1.495 GB, free: 7.395 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007175/1.178, allocations: 1.894 MB / 1.497 GB, free: 5.492 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005531/1.183, allocations: 1.481 MB / 1.498 GB, free: 4.012 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006291/1.19, allocations: 3.092 MB / 1.501 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/1.192, allocations: 1.246 MB / 1.503 GB, free: 15.64 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008505/1.2, allocations: 3.28 MB / 1.506 GB, free: 12.36 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/1.203, allocations: 1.004 MB / 1.507 GB, free: 11.35 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/1.203, allocations: 100 kB / 1.507 GB, free: 11.25 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/1.206, allocations: 1.52 MB / 1.508 GB, free: 9.727 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004271/1.207, allocations: 422.8 kB / 1.509 GB, free: 9.312 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009026/1.208, allocations: 0.7075 MB / 1.509 GB, free: 8.602 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/1.211, allocations: 2.063 MB / 1.511 GB, free: 6.531 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/1.211, allocations: 0 / 1.511 GB, free: 6.531 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.405e-06/1.211, allocations: 0 / 1.511 GB, free: 6.531 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.769e-05/1.211, allocations: 0 / 1.511 GB, free: 6.531 MB / 1.232 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.002656/1.214, allocations: 1.636 MB / 1.513 GB, free: 4.84 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/1.214, allocations: 8.625 kB / 1.513 GB, free: 4.832 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/1.214, allocations: 139.7 kB / 1.513 GB, free: 4.688 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/1.216, allocations: 294.9 kB / 1.513 GB, free: 4.398 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.217, allocations: 0.8905 MB / 1.514 GB, free: 3.465 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/1.217, allocations: 73.94 kB / 1.514 GB, free: 3.395 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.218, allocations: 96 kB / 1.514 GB, free: 3.301 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.219, allocations: 1.003 MB / 1.515 GB, free: 2.23 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.219, allocations: 3.938 kB / 1.515 GB, free: 2.227 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/1.219, allocations: 40 kB / 1.515 GB, free: 2.188 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/1.219, allocations: 20 kB / 1.515 GB, free: 2.168 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009755/1.22, allocations: 0.644 MB / 1.516 GB, free: 1.527 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.004339/1.224, allocations: 4.709 MB / 1.521 GB, free: 12.48 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/1.225, allocations: 254.8 kB / 1.521 GB, free: 12.23 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/1.225, allocations: 128.8 kB / 1.521 GB, free: 12.1 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/1.226, allocations: 319.2 kB / 1.521 GB, free: 11.73 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.226, allocations: 38.5 kB / 1.521 GB, free: 11.68 MB / 1.248 GB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/1.226, allocations: 0 / 1.521 GB, free: 11.68 MB / 1.248 GB Notification: Performance of matching and sorting (n=29): time 0.0009726/1.227, allocations: 484.8 kB / 1.522 GB, free: 11.2 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/1.227, allocations: 55.41 kB / 1.522 GB, free: 11.14 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.228, allocations: 1.095 MB / 1.523 GB, free: 10.03 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/1.228, allocations: 33.7 kB / 1.523 GB, free: 9.992 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/1.228, allocations: 0.6023 MB / 1.524 GB, free: 9.387 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/1.229, allocations: 115.1 kB / 1.524 GB, free: 9.273 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/1.229, allocations: 118.2 kB / 1.524 GB, free: 9.152 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.229, allocations: 326 kB / 1.524 GB, free: 8.828 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/1.229, allocations: 147 kB / 1.524 GB, free: 8.684 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/1.23, allocations: 433.2 kB / 1.525 GB, free: 8.133 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/1.23, allocations: 0.5344 MB / 1.525 GB, free: 7.496 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/1.23, allocations: 4 kB / 1.525 GB, free: 7.492 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009096/1.231, allocations: 0.622 MB / 1.526 GB, free: 6.863 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.231, allocations: 10.03 kB / 1.526 GB, free: 6.855 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.231, allocations: 8.062 kB / 1.526 GB, free: 6.848 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.231, allocations: 19.94 kB / 1.526 GB, free: 6.828 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/1.232, allocations: 187.7 kB / 1.526 GB, free: 6.645 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/1.233, allocations: 2.356 MB / 1.528 GB, free: 4.195 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/1.234, allocations: 103.5 kB / 1.528 GB, free: 4.094 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/1.234, allocations: 32 kB / 1.528 GB, free: 4.062 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006875/1.235, allocations: 369.1 kB / 1.529 GB, free: 3.699 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005292/1.235, allocations: 417.5 kB / 1.529 GB, free: 3.164 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005906/1.236, allocations: 0.538 MB / 1.53 GB, free: 2.523 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/1.236, allocations: 0 / 1.53 GB, free: 2.523 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.000857/1.237, allocations: 0.6166 MB / 1.53 GB, free: 1.902 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.237, allocations: 8 kB / 1.53 GB, free: 1.895 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.237, allocations: 11.94 kB / 1.53 GB, free: 1.883 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.237, allocations: 16.03 kB / 1.53 GB, free: 1.867 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/1.237, allocations: 127.8 kB / 1.531 GB, free: 1.742 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.237, allocations: 15.98 kB / 1.531 GB, free: 1.727 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/1.238, allocations: 43.78 kB / 1.531 GB, free: 1.684 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/1.238, allocations: 28 kB / 1.531 GB, free: 1.656 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.0002009/1.238, allocations: 228 kB / 1.531 GB, free: 1.426 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/1.238, allocations: 127.2 kB / 1.531 GB, free: 1.301 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/1.239, allocations: 409.1 kB / 1.531 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.239, allocations: 4 kB / 1.531 GB, free: 0.8867 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.239, allocations: 0 / 1.531 GB, free: 0.8867 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.239, allocations: 3.984 kB / 1.531 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/1.241, allocations: 1.296 MB / 1.533 GB, free: 15.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.241, allocations: 12.3 kB / 1.533 GB, free: 15.49 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/1.241, allocations: 83.88 kB / 1.533 GB, free: 15.41 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/1.241, allocations: 4 kB / 1.533 GB, free: 15.41 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/1.241, allocations: 8 kB / 1.533 GB, free: 15.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/1.243, allocations: 2.348 MB / 1.535 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.243, allocations: 4 kB / 1.535 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/1.243, allocations: 0.6857 MB / 1.536 GB, free: 12.22 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/1.244, allocations: 232.2 kB / 1.536 GB, free: 11.98 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.244, allocations: 8 kB / 1.536 GB, free: 11.97 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/1.244, allocations: 11.94 kB / 1.536 GB, free: 11.96 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/1.244, allocations: 31.84 kB / 1.536 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.244, allocations: 12 kB / 1.536 GB, free: 11.91 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008981/1.245, allocations: 0.7493 MB / 1.537 GB, free: 11.16 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.2e-07/1.245, allocations: 4 kB / 1.537 GB, free: 11.16 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00129/1.246, allocations: 495.2 kB / 1.537 GB, free: 10.67 MB / 1.264 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.001436/1.248, allocations: 1.313 MB / 1.538 GB, free: 9.309 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.249, allocations: 0.6623 MB / 1.539 GB, free: 8.648 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.25, allocations: 0 / 1.539 GB, free: 8.648 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/1.25, allocations: 172.9 kB / 1.539 GB, free: 8.48 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/1.252, allocations: 0.6249 MB / 1.54 GB, free: 7.867 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/1.262, allocations: 7.976 MB / 1.548 GB, free: 15.49 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/1.263, allocations: 1.111 MB / 1.549 GB, free: 14.35 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008765/1.264, allocations: 245.6 kB / 1.549 GB, free: 14.11 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/1.264, allocations: 419.3 kB / 1.549 GB, free: 13.7 MB / 1.279 GB Notification: Performance of SimCode: time 8.02e-07/1.264, allocations: 0 / 1.549 GB, free: 13.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7048/1.969, allocations: 30.18 MB / 1.579 GB, free: 337.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/14.64, allocations: 5.234 kB / 1.579 GB, free: 337.7 MB / 1.279 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Templates_Components_Validation_Sensors.fmu > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.csv","/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