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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001986/0.001986, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003017/0.003017, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.93/2.93, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 67.89 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7726, allocations: 151.6 MB / 1.017 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.14/1.912, allocations: 261.9 MB / 1.273 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02687/1.939, allocations: 19.12 MB / 1.292 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/1.942, allocations: 50 kB / 1.292 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/1.945, allocations: 0.7481 MB / 1.293 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005296/1.95, allocations: 1.812 MB / 1.294 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004295/1.954, allocations: 1.456 MB / 1.296 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004553/1.959, allocations: 3.078 MB / 1.299 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/1.961, allocations: 1.244 MB / 1.3 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008869/1.97, allocations: 3.174 MB / 1.303 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/1.972, allocations: 0.989 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/1.972, allocations: 99.69 kB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/1.975, allocations: 1.52 MB / 1.306 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004552/1.976, allocations: 420.3 kB / 1.306 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.977, allocations: 0.701 MB / 1.307 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/1.98, allocations: 2.028 MB / 1.309 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.98, allocations: 3.219 kB / 1.309 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/1.98, allocations: 0.9062 kB / 1.309 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.506e-05/1.98, allocations: 0 / 1.309 GB, free: 1.328 MB / 0.9981 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.002323/1.983, allocations: 1.564 MB / 1.31 GB, free: 16.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.983, allocations: 9.25 kB / 1.31 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/1.983, allocations: 148.3 kB / 1.31 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/1.984, allocations: 277.2 kB / 1.311 GB, free: 16.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.985, allocations: 0.8304 MB / 1.311 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/1.985, allocations: 72.91 kB / 1.312 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.986, allocations: 95.12 kB / 1.312 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/1.987, allocations: 0.9982 MB / 1.313 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.987, allocations: 4.125 kB / 1.313 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/1.987, allocations: 41.97 kB / 1.313 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/1.987, allocations: 22.44 kB / 1.313 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009417/1.988, allocations: 0.647 MB / 1.313 GB, free: 15.77 MB / 1.014 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.004824/1.993, allocations: 4.731 MB / 1.318 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/1.993, allocations: 247.3 kB / 1.318 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/1.993, allocations: 134.9 kB / 1.318 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006189/1.994, allocations: 306.1 kB / 1.319 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.994, allocations: 38.03 kB / 1.319 GB, free: 12.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/1.994, allocations: 0 / 1.319 GB, free: 12.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0009773/1.995, allocations: 484.2 kB / 1.319 GB, free: 12.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/1.995, allocations: 60.75 kB / 1.319 GB, free: 12.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.996, allocations: 1.081 MB / 1.32 GB, free: 12.06 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/1.996, allocations: 37.89 kB / 1.32 GB, free: 12.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/1.997, allocations: 0.5777 MB / 1.321 GB, free: 11.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/1.997, allocations: 114.9 kB / 1.321 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.997, allocations: 117.4 kB / 1.321 GB, free: 11.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.997, allocations: 329.8 kB / 1.321 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/1.997, allocations: 145.2 kB / 1.321 GB, free: 11.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/1.998, allocations: 425.3 kB / 1.322 GB, free: 11.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/1.999, allocations: 0.5307 MB / 1.322 GB, free: 10.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.999, allocations: 2.562 kB / 1.322 GB, free: 10.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009303/2, allocations: 0.6272 MB / 1.323 GB, free: 10.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/2, allocations: 8.5 kB / 1.323 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/2, allocations: 11.84 kB / 1.323 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/2, allocations: 10.09 kB / 1.323 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/2.001, allocations: 182.2 kB / 1.323 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/2.002, allocations: 2.361 MB / 1.326 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/2.003, allocations: 93.41 kB / 1.326 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/2.003, allocations: 32.53 kB / 1.326 GB, free: 8.277 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005339/2.003, allocations: 367.5 kB / 1.326 GB, free: 8.195 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000423/2.004, allocations: 423.5 kB / 1.326 GB, free: 7.852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005949/2.004, allocations: 0.5287 MB / 1.327 GB, free: 7.566 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.929e-06/2.004, allocations: 3.219 kB / 1.327 GB, free: 7.566 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008367/2.005, allocations: 0.6212 MB / 1.328 GB, free: 7.465 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/2.005, allocations: 6.719 kB / 1.328 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/2.005, allocations: 9.594 kB / 1.328 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/2.005, allocations: 14.78 kB / 1.328 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/2.006, allocations: 124.5 kB / 1.328 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/2.006, allocations: 13.25 kB / 1.328 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/2.006, allocations: 50.7 kB / 1.328 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/2.006, allocations: 34.66 kB / 1.328 GB, free: 7.441 MB / 1.014 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.0002041/2.007, allocations: 225.6 kB / 1.328 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/2.007, allocations: 111.5 kB / 1.328 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007151/2.007, allocations: 403.3 kB / 1.328 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/2.007, allocations: 8.844 kB / 1.328 GB, free: 7.129 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.007, allocations: 0 / 1.328 GB, free: 7.129 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/2.007, allocations: 6.516 kB / 1.328 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/2.009, allocations: 1.294 MB / 1.33 GB, free: 6.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/2.009, allocations: 3.406 kB / 1.33 GB, free: 6.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/2.01, allocations: 88.53 kB / 1.33 GB, free: 6.723 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/2.01, allocations: 2.094 kB / 1.33 GB, free: 6.723 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/2.01, allocations: 12.69 kB / 1.33 GB, free: 6.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/2.011, allocations: 2.349 MB / 1.332 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/2.011, allocations: 3.125 kB / 1.332 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/2.012, allocations: 0.6605 MB / 1.333 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/2.012, allocations: 223.2 kB / 1.333 GB, free: 3.941 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/2.012, allocations: 12.34 kB / 1.333 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/2.013, allocations: 9.344 kB / 1.333 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/2.013, allocations: 30.89 kB / 1.333 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/2.013, allocations: 13.34 kB / 1.333 GB, free: 3.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008967/2.014, allocations: 0.7381 MB / 1.334 GB, free: 3.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/2.014, allocations: 0 / 1.334 GB, free: 3.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001309/2.015, allocations: 494.3 kB / 1.334 GB, free: 3.77 MB / 1.014 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.001538/2.017, allocations: 1.308 MB / 1.336 GB, free: 2.941 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001518/2.018, allocations: 0.6864 MB / 1.336 GB, free: 2.918 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/2.018, allocations: 3.375 kB / 1.336 GB, free: 2.918 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/2.019, allocations: 171.8 kB / 1.336 GB, free: 2.914 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/2.021, allocations: 0.5849 MB / 1.337 GB, free: 2.805 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/2.034, allocations: 8.505 MB / 1.345 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/2.035, allocations: 1.107 MB / 1.346 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00118/2.036, allocations: 239.7 kB / 1.347 GB, free: 14.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/2.036, allocations: 414.8 kB / 1.347 GB, free: 14.27 MB / 1.029 GB Notification: Performance of SimCode: time 1.222e-06/2.036, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07053/2.107, allocations: 29.29 MB / 1.376 GB, free: 5.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/14.11, allocations: 1.875 kB / 1.376 GB, free: 5.191 MB / 1.029 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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