Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_11_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.006011/0.006012, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001316/0.001316, allocations: 199 kB / 16.68 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4119, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9257/1.338, allocations: 261.9 MB / 1.476 GB, free: 15.46 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02197/1.36, allocations: 19.12 MB / 1.495 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/1.361, allocations: 51.69 kB / 1.495 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/1.363, allocations: 0.7491 MB / 1.495 GB, free: 11.48 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/1.367, allocations: 1.816 MB / 1.497 GB, free: 9.656 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/1.37, allocations: 1.463 MB / 1.499 GB, free: 8.195 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00335/1.374, allocations: 3.081 MB / 1.502 GB, free: 5.102 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/1.375, allocations: 1.245 MB / 1.503 GB, free: 3.836 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006703/1.382, allocations: 3.176 MB / 1.506 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/1.383, allocations: 0.9921 MB / 1.507 GB, free: 15.66 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/1.383, allocations: 100 kB / 1.507 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/1.386, allocations: 1.524 MB / 1.508 GB, free: 14.04 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/1.386, allocations: 430.7 kB / 1.509 GB, free: 13.61 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007016/1.387, allocations: 0.7037 MB / 1.51 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/1.39, allocations: 2.063 MB / 1.512 GB, free: 10.84 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/1.39, allocations: 0 / 1.512 GB, free: 10.84 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.132e-06/1.39, allocations: 0 / 1.512 GB, free: 10.84 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.326e-05/1.39, allocations: 0 / 1.512 GB, free: 10.84 MB / 1.201 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.002091/1.392, allocations: 1.633 MB / 1.513 GB, free: 9.145 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/1.392, allocations: 12.03 kB / 1.513 GB, free: 9.133 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/1.392, allocations: 139.7 kB / 1.513 GB, free: 8.988 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/1.393, allocations: 290.9 kB / 1.514 GB, free: 8.703 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/1.395, allocations: 0.8866 MB / 1.514 GB, free: 7.773 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/1.395, allocations: 77.94 kB / 1.515 GB, free: 7.699 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.395, allocations: 92 kB / 1.515 GB, free: 7.609 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/1.396, allocations: 0.9993 MB / 1.516 GB, free: 6.543 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/1.396, allocations: 7.875 kB / 1.516 GB, free: 6.535 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/1.396, allocations: 36 kB / 1.516 GB, free: 6.5 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/1.396, allocations: 28 kB / 1.516 GB, free: 6.473 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009902/1.397, allocations: 0.6478 MB / 1.516 GB, free: 5.824 MB / 1.201 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.004232/1.402, allocations: 4.713 MB / 1.521 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/1.402, allocations: 254.4 kB / 1.521 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/1.402, allocations: 132.8 kB / 1.521 GB, free: 400 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/1.403, allocations: 311.2 kB / 1.522 GB, free: 32 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.403, allocations: 38.5 kB / 1.522 GB, free: 15.98 MB / 1.217 GB Notification: Performance of pre-optimization done (n=29): time 1.793e-06/1.403, allocations: 0 / 1.522 GB, free: 15.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=29): time 0.0008649/1.404, allocations: 493.2 kB / 1.522 GB, free: 15.5 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.404, allocations: 55.41 kB / 1.522 GB, free: 15.43 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.405, allocations: 1.092 MB / 1.523 GB, free: 14.33 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/1.405, allocations: 37.7 kB / 1.523 GB, free: 14.29 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/1.405, allocations: 0.5984 MB / 1.524 GB, free: 13.68 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.476e-05/1.406, allocations: 123 kB / 1.524 GB, free: 13.56 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.406, allocations: 110.2 kB / 1.524 GB, free: 13.45 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.406, allocations: 334 kB / 1.524 GB, free: 13.12 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/1.406, allocations: 143 kB / 1.525 GB, free: 12.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/1.407, allocations: 430.4 kB / 1.525 GB, free: 12.43 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/1.407, allocations: 0.5275 MB / 1.525 GB, free: 11.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.407, allocations: 8.625 kB / 1.525 GB, free: 11.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008828/1.408, allocations: 0.6215 MB / 1.526 GB, free: 11.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.408, allocations: 10.34 kB / 1.526 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.408, allocations: 8.875 kB / 1.526 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.408, allocations: 15.98 kB / 1.526 GB, free: 11.13 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/1.409, allocations: 181.9 kB / 1.526 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/1.41, allocations: 2.36 MB / 1.529 GB, free: 8.504 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/1.411, allocations: 99.23 kB / 1.529 GB, free: 8.406 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/1.411, allocations: 28 kB / 1.529 GB, free: 8.379 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004899/1.411, allocations: 373 kB / 1.529 GB, free: 8.012 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004434/1.412, allocations: 425.5 kB / 1.529 GB, free: 7.469 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006207/1.412, allocations: 0.5309 MB / 1.53 GB, free: 6.836 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/1.412, allocations: 4 kB / 1.53 GB, free: 6.832 MB / 1.217 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008555/1.413, allocations: 0.6276 MB / 1.531 GB, free: 6.199 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/1.413, allocations: 8 kB / 1.531 GB, free: 6.191 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.413, allocations: 8.125 kB / 1.531 GB, free: 6.184 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.413, allocations: 19.94 kB / 1.531 GB, free: 6.164 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/1.414, allocations: 119.8 kB / 1.531 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.414, allocations: 20.36 kB / 1.531 GB, free: 6.027 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/1.414, allocations: 47.78 kB / 1.531 GB, free: 5.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/1.414, allocations: 31.98 kB / 1.531 GB, free: 5.949 MB / 1.217 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.0001465/1.414, allocations: 216.1 kB / 1.531 GB, free: 5.73 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.415, allocations: 119.2 kB / 1.531 GB, free: 5.613 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/1.415, allocations: 421 kB / 1.532 GB, free: 5.191 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.415, allocations: 0 / 1.532 GB, free: 5.191 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.415, allocations: 4 kB / 1.532 GB, free: 5.188 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.415, allocations: 0 / 1.532 GB, free: 5.188 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/1.417, allocations: 1.294 MB / 1.533 GB, free: 3.812 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.417, allocations: 4 kB / 1.533 GB, free: 3.809 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/1.417, allocations: 87.81 kB / 1.533 GB, free: 3.723 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/1.417, allocations: 4 kB / 1.533 GB, free: 3.719 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/1.417, allocations: 12 kB / 1.533 GB, free: 3.707 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/1.419, allocations: 2.348 MB / 1.535 GB, free: 1.266 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.419, allocations: 3.938 kB / 1.535 GB, free: 1.262 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/1.419, allocations: 0.6855 MB / 1.536 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/1.42, allocations: 228.3 kB / 1.536 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.42, allocations: 8 kB / 1.536 GB, free: 288 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/1.42, allocations: 8 kB / 1.536 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/1.42, allocations: 31.98 kB / 1.536 GB, free: 248 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/1.42, allocations: 12 kB / 1.536 GB, free: 236 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008819/1.421, allocations: 0.7493 MB / 1.537 GB, free: 15.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.034e-06/1.421, allocations: 0 / 1.537 GB, free: 15.48 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001063/1.422, allocations: 0.4914 MB / 1.537 GB, free: 14.98 MB / 1.232 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.001363/1.423, allocations: 1.323 MB / 1.539 GB, free: 13.61 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001382/1.425, allocations: 0.67 MB / 1.539 GB, free: 12.95 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.425, allocations: 0 / 1.539 GB, free: 12.95 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/1.425, allocations: 174.4 kB / 1.539 GB, free: 12.78 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/1.428, allocations: 0.6204 MB / 1.54 GB, free: 12.17 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009379/1.437, allocations: 7.982 MB / 1.548 GB, free: 3.781 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/1.438, allocations: 1.099 MB / 1.549 GB, free: 2.652 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006866/1.438, allocations: 241.6 kB / 1.549 GB, free: 2.414 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/1.439, allocations: 419.3 kB / 1.55 GB, free: 2.004 MB / 1.232 GB Notification: Performance of SimCode: time 4.11e-07/1.439, allocations: 4 kB / 1.55 GB, free: 2 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.014/3.453, allocations: 30.19 MB / 1.579 GB, free: 4.254 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/20.1, allocations: 0 / 1.579 GB, free: 4.254 MB / 1.264 GB (rm -f Buildings_11_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Validation.Sensors_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Validation_Sensors_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Validation_Sensors.fmu > Buildings_11_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches