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: translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_10_Buildings.Templates.Components.Validation.Sensors") translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_10_Buildings.Templates.Components.Validation.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001767/0.001767, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.462/2.462, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 61.39 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2727, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.7046/0.9773, allocations: 261.9 MB / 1.275 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02324/1.001, allocations: 19.11 MB / 1.293 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/1.004, allocations: 51.69 kB / 1.293 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/1.007, allocations: 0.7413 MB / 1.294 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005258/1.012, allocations: 1.818 MB / 1.296 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003956/1.016, allocations: 1.459 MB / 1.297 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004197/1.02, allocations: 3.09 MB / 1.3 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/1.022, allocations: 1.232 MB / 1.301 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007452/1.029, allocations: 3.182 MB / 1.304 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/1.031, allocations: 1.004 MB / 1.305 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/1.031, allocations: 100 kB / 1.306 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/1.034, allocations: 1.52 MB / 1.307 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003818/1.034, allocations: 418.8 kB / 1.307 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007746/1.035, allocations: 0.6959 MB / 1.308 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002731/1.038, allocations: 2.052 MB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/1.038, allocations: 0 / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/1.038, allocations: 0 / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.637e-05/1.038, allocations: 0 / 1.31 GB, free: 14.19 MB / 1.014 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.002126/1.04, allocations: 1.573 MB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.04, allocations: 12.88 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/1.041, allocations: 290.1 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.043, allocations: 0.8624 MB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/1.043, allocations: 77.94 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/1.043, allocations: 92 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/1.045, allocations: 1.003 MB / 1.314 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.045, allocations: 4 kB / 1.314 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/1.045, allocations: 39.94 kB / 1.314 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/1.045, allocations: 24 kB / 1.314 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/1.046, allocations: 0.64 MB / 1.315 GB, free: 9.422 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.00422/1.05, allocations: 4.7 MB / 1.319 GB, free: 4.387 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/1.05, allocations: 251.7 kB / 1.319 GB, free: 4.133 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/1.05, allocations: 129.3 kB / 1.32 GB, free: 4.004 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/1.051, allocations: 311.2 kB / 1.32 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.051, allocations: 34.56 kB / 1.32 GB, free: 3.602 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/1.051, allocations: 0 / 1.32 GB, free: 3.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0009355/1.052, allocations: 492.6 kB / 1.32 GB, free: 3.113 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.052, allocations: 59.34 kB / 1.32 GB, free: 3.043 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/1.053, allocations: 1.079 MB / 1.321 GB, free: 1.953 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/1.053, allocations: 33.7 kB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/1.054, allocations: 0.5816 MB / 1.322 GB, free: 1.328 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/1.054, allocations: 110.5 kB / 1.322 GB, free: 1.219 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/1.054, allocations: 118 kB / 1.322 GB, free: 1.098 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.054, allocations: 334 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/1.054, allocations: 143 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/1.055, allocations: 429.5 kB / 1.323 GB, free: 80 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/1.055, allocations: 0.5272 MB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.055, allocations: 4 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000876/1.056, allocations: 0.6151 MB / 1.324 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.056, allocations: 8 kB / 1.324 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.056, allocations: 16 kB / 1.324 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.056, allocations: 20 kB / 1.324 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/1.057, allocations: 175.8 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/1.058, allocations: 2.352 MB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/1.059, allocations: 99.23 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/1.059, allocations: 32 kB / 1.327 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004743/1.059, allocations: 373.7 kB / 1.327 GB, free: 11.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003849/1.06, allocations: 417.3 kB / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005681/1.06, allocations: 0.5341 MB / 1.328 GB, free: 10.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.79e-06/1.06, allocations: 4 kB / 1.328 GB, free: 10.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008551/1.061, allocations: 0.622 MB / 1.329 GB, free: 9.863 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.061, allocations: 8 kB / 1.329 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.061, allocations: 8 kB / 1.329 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/1.061, allocations: 16.03 kB / 1.329 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/1.062, allocations: 123.8 kB / 1.329 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.062, allocations: 15.92 kB / 1.329 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/1.062, allocations: 43.69 kB / 1.329 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/1.062, allocations: 35.92 kB / 1.329 GB, free: 9.617 MB / 1.029 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.0001484/1.063, allocations: 216.1 kB / 1.329 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.063, allocations: 118.6 kB / 1.329 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/1.063, allocations: 404.9 kB / 1.33 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.063, allocations: 4 kB / 1.33 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.063, allocations: 0 / 1.33 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.063, allocations: 11.91 kB / 1.33 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/1.065, allocations: 1.285 MB / 1.331 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.065, allocations: 8.031 kB / 1.331 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/1.066, allocations: 91.83 kB / 1.331 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/1.066, allocations: 4 kB / 1.331 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/1.066, allocations: 15.98 kB / 1.331 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000991/1.067, allocations: 2.336 MB / 1.333 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.067, allocations: 7.969 kB / 1.333 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/1.067, allocations: 0.6694 MB / 1.334 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/1.068, allocations: 215.6 kB / 1.334 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.068, allocations: 15.92 kB / 1.334 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/1.068, allocations: 8 kB / 1.334 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/1.068, allocations: 23.97 kB / 1.334 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/1.068, allocations: 8 kB / 1.334 GB, free: 3.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008571/1.069, allocations: 0.7409 MB / 1.335 GB, free: 3.195 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.069, allocations: 4 kB / 1.335 GB, free: 3.191 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001145/1.07, allocations: 491.1 kB / 1.336 GB, free: 2.711 MB / 1.029 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.0004218/1.071, allocations: 215.8 kB / 1.336 GB, free: 2.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001461/1.072, allocations: 0.6672 MB / 1.336 GB, free: 1.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.072, allocations: 4.75 kB / 1.336 GB, free: 1.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/1.073, allocations: 167.8 kB / 1.337 GB, free: 1.668 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.075, allocations: 0.5927 MB / 1.337 GB, free: 1.082 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/1.077, allocations: 1.842 MB / 1.339 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/1.078, allocations: 1.103 MB / 1.34 GB, free: 14.05 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006604/1.079, allocations: 253.4 kB / 1.34 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.079, allocations: 75.42 kB / 1.34 GB, free: 13.72 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/1.079, allocations: 0 / 1.34 GB, free: 13.72 MB / 1.045 GB Notification: Performance of Templates: time 0.03052/1.109, allocations: 19.26 MB / 1.359 GB, free: 10.77 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.makefile (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 & ./Buildings_10_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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