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.006816/0.006816, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001647/0.001647, allocations: 195 kB / 16.67 MB, free: 6.379 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.986/2.986, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 60.12 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3629, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.12/1.483, allocations: 261.9 MB / 1.463 GB, free: 1.059 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02803/1.511, allocations: 19.12 MB / 1.482 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/1.514, allocations: 47.69 kB / 1.482 GB, free: 13.83 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002825/1.517, allocations: 0.7686 MB / 1.483 GB, free: 13.06 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00643/1.523, allocations: 1.908 MB / 1.484 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004252/1.527, allocations: 1.469 MB / 1.486 GB, free: 9.68 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004617/1.532, allocations: 3.093 MB / 1.489 GB, free: 6.578 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/1.534, allocations: 1.235 MB / 1.49 GB, free: 5.32 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008323/1.542, allocations: 3.288 MB / 1.493 GB, free: 2.027 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/1.544, allocations: 0.988 MB / 1.494 GB, free: 1.035 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003782/1.545, allocations: 104 kB / 1.494 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/1.548, allocations: 1.52 MB / 1.496 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006733/1.549, allocations: 426.7 kB / 1.496 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/1.55, allocations: 0.7036 MB / 1.497 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004104/1.554, allocations: 2.056 MB / 1.499 GB, free: 12.22 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.554, allocations: 4 kB / 1.499 GB, free: 12.22 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/1.554, allocations: 0 / 1.499 GB, free: 12.22 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.122e-05/1.555, allocations: 0 / 1.499 GB, free: 12.22 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.003031/1.558, allocations: 1.588 MB / 1.5 GB, free: 10.58 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.558, allocations: 8.625 kB / 1.5 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/1.558, allocations: 139.7 kB / 1.501 GB, free: 10.43 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/1.559, allocations: 290 kB / 1.501 GB, free: 10.14 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/1.561, allocations: 0.8701 MB / 1.502 GB, free: 9.227 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/1.561, allocations: 77.94 kB / 1.502 GB, free: 9.148 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/1.561, allocations: 92 kB / 1.502 GB, free: 9.059 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/1.563, allocations: 1.007 MB / 1.503 GB, free: 7.988 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/1.563, allocations: 4 kB / 1.503 GB, free: 7.984 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/1.563, allocations: 40.5 kB / 1.503 GB, free: 7.945 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/1.563, allocations: 24 kB / 1.503 GB, free: 7.922 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/1.564, allocations: 0.6439 MB / 1.504 GB, free: 7.277 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.006009/1.57, allocations: 4.7 MB / 1.508 GB, free: 2.242 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/1.571, allocations: 252.7 kB / 1.508 GB, free: 1.988 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/1.571, allocations: 133.7 kB / 1.509 GB, free: 1.855 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/1.572, allocations: 311.2 kB / 1.509 GB, free: 1.496 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.572, allocations: 34.5 kB / 1.509 GB, free: 1.453 MB / 1.186 GB Notification: Performance of pre-optimization done (n=29): time 3.036e-06/1.572, allocations: 0 / 1.509 GB, free: 1.453 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.00134/1.573, allocations: 490.1 kB / 1.509 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/1.573, allocations: 59.41 kB / 1.509 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/1.575, allocations: 1.095 MB / 1.51 GB, free: 15.79 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/1.575, allocations: 33.7 kB / 1.51 GB, free: 15.75 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/1.575, allocations: 0.5935 MB / 1.511 GB, free: 15.16 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.576, allocations: 106.5 kB / 1.511 GB, free: 15.05 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/1.576, allocations: 122.1 kB / 1.511 GB, free: 14.93 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.576, allocations: 326 kB / 1.512 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/1.576, allocations: 147 kB / 1.512 GB, free: 14.45 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/1.577, allocations: 429.5 kB / 1.512 GB, free: 13.91 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/1.578, allocations: 0.5377 MB / 1.513 GB, free: 13.27 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.578, allocations: 0 / 1.513 GB, free: 13.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001173/1.579, allocations: 0.62 MB / 1.513 GB, free: 12.64 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.579, allocations: 8 kB / 1.513 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.579, allocations: 8 kB / 1.513 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.891e-05/1.579, allocations: 12.8 kB / 1.513 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/1.58, allocations: 186.9 kB / 1.513 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/1.582, allocations: 2.36 MB / 1.516 GB, free: 9.984 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/1.583, allocations: 90.95 kB / 1.516 GB, free: 9.895 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/1.583, allocations: 28 kB / 1.516 GB, free: 9.867 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006548/1.583, allocations: 373.3 kB / 1.516 GB, free: 9.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004752/1.584, allocations: 433.2 kB / 1.517 GB, free: 8.949 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000686/1.584, allocations: 0.5224 MB / 1.517 GB, free: 8.324 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/1.584, allocations: 7.938 kB / 1.517 GB, free: 8.316 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001105/1.586, allocations: 0.609 MB / 1.518 GB, free: 7.699 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.586, allocations: 8 kB / 1.518 GB, free: 7.691 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.586, allocations: 8 kB / 1.518 GB, free: 7.684 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.586, allocations: 16.72 kB / 1.518 GB, free: 7.668 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/1.586, allocations: 127.8 kB / 1.518 GB, free: 7.543 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/1.586, allocations: 19.86 kB / 1.518 GB, free: 7.527 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/1.587, allocations: 47.59 kB / 1.518 GB, free: 7.48 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/1.587, allocations: 35.98 kB / 1.518 GB, free: 7.445 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.000251/1.587, allocations: 216 kB / 1.518 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/1.587, allocations: 118.5 kB / 1.518 GB, free: 7.109 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/1.588, allocations: 409.2 kB / 1.519 GB, free: 6.703 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.588, allocations: 4 kB / 1.519 GB, free: 6.699 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.588, allocations: 0 / 1.519 GB, free: 6.699 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.588, allocations: 0 / 1.519 GB, free: 6.699 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/1.591, allocations: 1.309 MB / 1.52 GB, free: 5.309 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.591, allocations: 0 / 1.52 GB, free: 5.309 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/1.591, allocations: 87.88 kB / 1.52 GB, free: 5.223 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.591, allocations: 4.312 kB / 1.52 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.591, allocations: 16 kB / 1.52 GB, free: 5.203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.593, allocations: 2.345 MB / 1.522 GB, free: 2.766 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.593, allocations: 4.031 kB / 1.522 GB, free: 2.762 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000853/1.594, allocations: 0.6643 MB / 1.523 GB, free: 2.051 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/1.594, allocations: 215.7 kB / 1.523 GB, free: 1.82 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.594, allocations: 12 kB / 1.523 GB, free: 1.809 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/1.595, allocations: 11.94 kB / 1.523 GB, free: 1.797 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/1.595, allocations: 23.91 kB / 1.523 GB, free: 1.773 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/1.595, allocations: 16 kB / 1.523 GB, free: 1.758 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001074/1.596, allocations: 0.7493 MB / 1.524 GB, free: 1.004 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/1.596, allocations: 3.938 kB / 1.524 GB, free: 1 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001431/1.597, allocations: 487.1 kB / 1.525 GB, free: 0.5234 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.001546/1.599, allocations: 1.324 MB / 1.526 GB, free: 15.15 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001684/1.601, allocations: 0.6804 MB / 1.526 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.601, allocations: 4.125 kB / 1.526 GB, free: 14.47 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/1.601, allocations: 169.6 kB / 1.527 GB, free: 14.31 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/1.604, allocations: 0.6199 MB / 1.527 GB, free: 13.7 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.615, allocations: 7.948 MB / 1.535 GB, free: 5.352 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/1.616, allocations: 1.099 MB / 1.536 GB, free: 4.223 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000856/1.617, allocations: 249.6 kB / 1.536 GB, free: 3.977 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/1.617, allocations: 419.3 kB / 1.537 GB, free: 3.57 MB / 1.217 GB Notification: Performance of SimCode: time 6.21e-07/1.617, allocations: 0 / 1.537 GB, free: 3.57 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06688/1.684, allocations: 30.18 MB / 1.566 GB, free: 5.828 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/15.06, allocations: 20.41 kB / 1.566 GB, free: 5.812 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