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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009708/0.0009708, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008472/0.008472, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.934/2.934, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004172, allocations: 19.98 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7881, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.068/1.856, allocations: 256.3 MB / 1.273 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03043/1.886, allocations: 18.97 MB / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/1.889, allocations: 40.56 kB / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/1.892, allocations: 0.6136 MB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007606/1.9, allocations: 1.713 MB / 1.294 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005335/1.905, allocations: 1.297 MB / 1.296 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00785/1.913, allocations: 4.544 MB / 1.3 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/1.916, allocations: 0.9602 MB / 1.301 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/1.928, allocations: 2.897 MB / 1.304 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/1.931, allocations: 0.9918 MB / 1.305 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003063/1.931, allocations: 53.69 kB / 1.305 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/1.936, allocations: 1.708 MB / 1.306 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007547/1.937, allocations: 359.9 kB / 1.307 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/1.938, allocations: 0.6568 MB / 1.307 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00458/1.943, allocations: 2.054 MB / 1.309 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/1.943, allocations: 2.906 kB / 1.309 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.537e-06/1.943, allocations: 0 / 1.309 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.605e-05/1.943, allocations: 0 / 1.309 GB, free: 1.242 MB / 0.9825 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.002924/1.946, allocations: 1.336 MB / 1.311 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/1.946, allocations: 11.45 kB / 1.311 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/1.946, allocations: 143.9 kB / 1.311 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/1.948, allocations: 286.7 kB / 1.311 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/1.95, allocations: 0.816 MB / 1.312 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.95, allocations: 72.56 kB / 1.312 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/1.95, allocations: 107.6 kB / 1.312 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.952, allocations: 0.9903 MB / 1.313 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.952, allocations: 0 / 1.313 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/1.952, allocations: 36.31 kB / 1.313 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/1.952, allocations: 23.16 kB / 1.313 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/1.953, allocations: 0.6488 MB / 1.314 GB, free: 15.73 MB / 0.9981 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.005789/1.959, allocations: 4.382 MB / 1.318 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/1.959, allocations: 248.6 kB / 1.318 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/1.959, allocations: 128.3 kB / 1.318 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/1.96, allocations: 321.8 kB / 1.319 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.96, allocations: 41.25 kB / 1.319 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=29): time 2.995e-06/1.96, allocations: 0 / 1.319 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.001167/1.961, allocations: 481.7 kB / 1.319 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.961, allocations: 54.09 kB / 1.319 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/1.963, allocations: 1.069 MB / 1.32 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/1.963, allocations: 33.23 kB / 1.32 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000657/1.964, allocations: 0.5786 MB / 1.321 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/1.964, allocations: 106.8 kB / 1.321 GB, free: 12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/1.964, allocations: 46.95 kB / 1.321 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.964, allocations: 332.4 kB / 1.321 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/1.965, allocations: 133.9 kB / 1.321 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/1.965, allocations: 397.4 kB / 1.322 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/1.966, allocations: 0.5017 MB / 1.322 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.966, allocations: 3.344 kB / 1.322 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00115/1.967, allocations: 0.5886 MB / 1.323 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002609/1.967, allocations: 291.2 kB / 1.323 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.967, allocations: 5.484 kB / 1.323 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/1.967, allocations: 9.438 kB / 1.323 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/1.968, allocations: 172.2 kB / 1.323 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/1.97, allocations: 2.363 MB / 1.326 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.971, allocations: 119.8 kB / 1.326 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/1.971, allocations: 27.98 kB / 1.326 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.971, allocations: 6.125 kB / 1.326 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008518/1.972, allocations: 464.1 kB / 1.326 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.972, allocations: 10.09 kB / 1.326 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.972, allocations: 9.406 kB / 1.326 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/1.973, allocations: 122.4 kB / 1.326 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/1.973, allocations: 13.66 kB / 1.326 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/1.973, allocations: 116.5 kB / 1.327 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/1.973, allocations: 28.78 kB / 1.327 GB, free: 8.223 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (63): * Single equations (assignments): 59 * 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.0007546/1.974, allocations: 372.3 kB / 1.327 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.974, allocations: 110.1 kB / 1.327 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/1.975, allocations: 412 kB / 1.327 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.975, allocations: 5.125 kB / 1.327 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.975, allocations: 0 / 1.327 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.975, allocations: 0 / 1.327 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/1.978, allocations: 1.299 MB / 1.329 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.978, allocations: 3.594 kB / 1.329 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/1.978, allocations: 88.7 kB / 1.329 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.978, allocations: 7.531 kB / 1.329 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/1.978, allocations: 9.031 kB / 1.329 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/1.98, allocations: 2.346 MB / 1.331 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.98, allocations: 5.688 kB / 1.331 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/1.981, allocations: 0.6686 MB / 1.332 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/1.981, allocations: 218.5 kB / 1.332 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.981, allocations: 17.05 kB / 1.332 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/1.982, allocations: 45.52 kB / 1.332 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/1.982, allocations: 24.2 kB / 1.332 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/1.982, allocations: 11.62 kB / 1.332 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001037/1.983, allocations: 0.7328 MB / 1.333 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.913e-06/1.983, allocations: 4 kB / 1.333 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00152/1.984, allocations: 486.8 kB / 1.333 GB, free: 4.531 MB / 0.9981 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.001744/1.986, allocations: 1.32 MB / 1.335 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.988, allocations: 0.6465 MB / 1.335 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.988, allocations: 0 / 1.335 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/1.988, allocations: 170.6 kB / 1.335 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/1.991, allocations: 0.5659 MB / 1.336 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/2.005, allocations: 8.782 MB / 1.344 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008439/2.006, allocations: 1.101 MB / 1.346 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001193/2.007, allocations: 230.4 kB / 1.346 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/2.007, allocations: 411.8 kB / 1.346 GB, free: 14.77 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/2.007, allocations: 2.188 kB / 1.346 GB, free: 14.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06631/2.074, allocations: 27.93 MB / 1.373 GB, free: 1.691 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003964/2.074, allocations: 270.4 kB / 1.374 GB, free: 1.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/4.976, allocations: 7.938 kB / 1.374 GB, free: 1.332 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.mat --tempDir=temp_Buildings_10_Buildings_Templates_Components_Validation_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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