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: "" <> 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.006957/0.006957, allocations: 107.5 kB / 15.74 MB, free: 6.035 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.001334/0.001335, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.961/2.961, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 63.91 kB / 1.054 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4114, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.229/1.641, allocations: 261.9 MB / 1.463 GB, free: 1.09 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02656/1.667, allocations: 19.12 MB / 1.482 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/1.67, allocations: 47.69 kB / 1.482 GB, free: 13.86 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002971/1.673, allocations: 0.753 MB / 1.483 GB, free: 13.1 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008198/1.681, allocations: 1.819 MB / 1.484 GB, free: 11.28 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005295/1.687, allocations: 1.457 MB / 1.486 GB, free: 9.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00544/1.692, allocations: 3.089 MB / 1.489 GB, free: 6.723 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/1.694, allocations: 1.229 MB / 1.49 GB, free: 5.473 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009756/1.704, allocations: 3.206 MB / 1.493 GB, free: 2.266 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/1.706, allocations: 0.9842 MB / 1.494 GB, free: 1.277 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002084/1.707, allocations: 104 kB / 1.494 GB, free: 1.176 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/1.71, allocations: 1.524 MB / 1.496 GB, free: 15.65 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005272/1.711, allocations: 422.7 kB / 1.496 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/1.712, allocations: 0.6998 MB / 1.497 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004415/1.716, allocations: 2.064 MB / 1.499 GB, free: 12.46 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.716, allocations: 0 / 1.499 GB, free: 12.46 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.934e-06/1.716, allocations: 0 / 1.499 GB, free: 12.46 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.841e-05/1.716, allocations: 0 / 1.499 GB, free: 12.46 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.002772/1.719, allocations: 1.588 MB / 1.5 GB, free: 10.82 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.719, allocations: 8.625 kB / 1.5 GB, free: 10.81 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/1.719, allocations: 147.7 kB / 1.5 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.721, allocations: 282.9 kB / 1.501 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/1.722, allocations: 0.874 MB / 1.502 GB, free: 9.465 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/1.722, allocations: 77.94 kB / 1.502 GB, free: 9.387 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.722, allocations: 92 kB / 1.502 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/1.724, allocations: 1.003 MB / 1.503 GB, free: 8.23 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/1.724, allocations: 4 kB / 1.503 GB, free: 8.227 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/1.724, allocations: 36 kB / 1.503 GB, free: 8.191 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/1.724, allocations: 27.94 kB / 1.503 GB, free: 8.164 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.725, allocations: 0.6517 MB / 1.503 GB, free: 7.512 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.004762/1.73, allocations: 4.696 MB / 1.508 GB, free: 2.48 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/1.73, allocations: 247.3 kB / 1.508 GB, free: 2.23 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/1.731, allocations: 133.7 kB / 1.508 GB, free: 2.098 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005996/1.731, allocations: 307.2 kB / 1.509 GB, free: 1.742 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.731, allocations: 42.5 kB / 1.509 GB, free: 1.691 MB / 1.186 GB Notification: Performance of pre-optimization done (n=29): time 2.645e-06/1.731, allocations: 0 / 1.509 GB, free: 1.691 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.001001/1.732, allocations: 490.1 kB / 1.509 GB, free: 1.207 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/1.732, allocations: 55.41 kB / 1.509 GB, free: 1.141 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.734, allocations: 1.095 MB / 1.51 GB, free: 36 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/1.734, allocations: 33.78 kB / 1.51 GB, free: 15.99 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/1.734, allocations: 0.5934 MB / 1.511 GB, free: 15.4 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/1.734, allocations: 110.5 kB / 1.511 GB, free: 15.29 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/1.735, allocations: 118.1 kB / 1.511 GB, free: 15.17 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.735, allocations: 326 kB / 1.511 GB, free: 14.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/1.735, allocations: 147 kB / 1.512 GB, free: 14.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/1.735, allocations: 429.5 kB / 1.512 GB, free: 14.15 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/1.736, allocations: 0.5344 MB / 1.512 GB, free: 13.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/1.736, allocations: 3.938 kB / 1.512 GB, free: 13.51 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001051/1.737, allocations: 0.6225 MB / 1.513 GB, free: 12.88 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.737, allocations: 8.969 kB / 1.513 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.737, allocations: 8 kB / 1.513 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/1.737, allocations: 19.98 kB / 1.513 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/1.738, allocations: 170.8 kB / 1.513 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/1.739, allocations: 2.36 MB / 1.516 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/1.74, allocations: 91.23 kB / 1.516 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/1.74, allocations: 35.94 kB / 1.516 GB, free: 10.11 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005305/1.741, allocations: 373.1 kB / 1.516 GB, free: 9.738 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004236/1.741, allocations: 429.2 kB / 1.516 GB, free: 9.191 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000641/1.742, allocations: 0.5224 MB / 1.517 GB, free: 8.566 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/1.742, allocations: 4 kB / 1.517 GB, free: 8.562 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001004/1.743, allocations: 0.6135 MB / 1.518 GB, free: 7.941 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.743, allocations: 12.97 kB / 1.518 GB, free: 7.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.743, allocations: 4 kB / 1.518 GB, free: 7.926 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.743, allocations: 19.94 kB / 1.518 GB, free: 7.906 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/1.743, allocations: 123.8 kB / 1.518 GB, free: 7.785 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/1.743, allocations: 15.92 kB / 1.518 GB, free: 7.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/1.744, allocations: 56.58 kB / 1.518 GB, free: 7.715 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/1.744, allocations: 28 kB / 1.518 GB, free: 7.688 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.0001782/1.744, allocations: 220 kB / 1.518 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/1.744, allocations: 118.5 kB / 1.518 GB, free: 7.348 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/1.745, allocations: 409.3 kB / 1.519 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/1.745, allocations: 4 kB / 1.519 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.745, allocations: 0 / 1.519 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.745, allocations: 0 / 1.519 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/1.747, allocations: 1.308 MB / 1.52 GB, free: 5.547 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.747, allocations: 320 / 1.52 GB, free: 5.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/1.748, allocations: 91.88 kB / 1.52 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-06/1.748, allocations: 4 kB / 1.52 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/1.748, allocations: 12 kB / 1.52 GB, free: 5.441 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/1.749, allocations: 2.34 MB / 1.522 GB, free: 3.008 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.749, allocations: 7.969 kB / 1.522 GB, free: 3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000853/1.75, allocations: 0.6682 MB / 1.523 GB, free: 2.285 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/1.75, allocations: 219.8 kB / 1.523 GB, free: 2.051 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/1.75, allocations: 8 kB / 1.523 GB, free: 2.043 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/1.751, allocations: 11.94 kB / 1.523 GB, free: 2.031 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/1.751, allocations: 27.91 kB / 1.523 GB, free: 2.004 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/1.751, allocations: 12 kB / 1.523 GB, free: 1.992 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00101/1.752, allocations: 0.7493 MB / 1.524 GB, free: 1.238 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.6e-07/1.752, allocations: 4 kB / 1.524 GB, free: 1.234 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001385/1.753, allocations: 491.1 kB / 1.524 GB, free: 0.7539 MB / 1.201 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.001488/1.755, allocations: 1.313 MB / 1.526 GB, free: 15.39 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001643/1.756, allocations: 0.6832 MB / 1.526 GB, free: 14.71 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/1.756, allocations: 4 kB / 1.526 GB, free: 14.71 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/1.757, allocations: 163.7 kB / 1.526 GB, free: 14.55 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.76, allocations: 0.6206 MB / 1.527 GB, free: 13.94 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.771, allocations: 7.947 MB / 1.535 GB, free: 5.598 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/1.772, allocations: 1.103 MB / 1.536 GB, free: 4.465 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001081/1.773, allocations: 245.6 kB / 1.536 GB, free: 4.223 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/1.774, allocations: 423.2 kB / 1.537 GB, free: 3.812 MB / 1.217 GB Notification: Performance of SimCode: time 5.51e-07/1.774, allocations: 0 / 1.537 GB, free: 3.812 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07228/1.846, allocations: 30.63 MB / 1.566 GB, free: 5.617 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/15.23, allocations: 15.23 kB / 1.566 GB, free: 5.605 MB / 1.248 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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