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: 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.00126/0.00126, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01095/0.01095, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.512/1.512, 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.1-maint.10.0.x/package.mo): time 3.189/3.189, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004897, allocations: 12.28 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.041, 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.384/2.425, allocations: 256.3 MB / 1.273 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02901/2.454, allocations: 18.98 MB / 1.292 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003571/2.458, allocations: 43.25 kB / 1.292 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003073/2.461, allocations: 0.6119 MB / 1.292 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007663/2.469, allocations: 1.706 MB / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005586/2.475, allocations: 1.305 MB / 1.295 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008088/2.483, allocations: 4.54 MB / 1.3 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/2.485, allocations: 0.9626 MB / 1.301 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01175/2.497, allocations: 2.892 MB / 1.304 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003288/2.5, allocations: 0.9938 MB / 1.305 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/2.501, allocations: 49.12 kB / 1.305 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005158/2.506, allocations: 1.708 MB / 1.306 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006965/2.506, allocations: 366.5 kB / 1.307 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001776/2.508, allocations: 0.6558 MB / 1.307 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004516/2.513, allocations: 2.062 MB / 1.309 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/2.513, allocations: 0 / 1.309 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.895e-06/2.513, allocations: 0 / 1.309 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.249e-05/2.513, allocations: 0 / 1.309 GB, free: 1.199 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.003004/2.516, allocations: 1.335 MB / 1.311 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.131e-05/2.516, allocations: 13.3 kB / 1.311 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/2.517, allocations: 281.8 kB / 1.311 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/2.519, allocations: 0.8219 MB / 1.312 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/2.519, allocations: 73.12 kB / 1.312 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/2.519, allocations: 100.2 kB / 1.312 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/2.521, allocations: 0.9843 MB / 1.313 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/2.521, allocations: 2.969 kB / 1.313 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/2.521, allocations: 40.48 kB / 1.313 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/2.522, allocations: 26 kB / 1.313 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/2.523, allocations: 0.645 MB / 1.313 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.005448/2.528, allocations: 4.388 MB / 1.318 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/2.529, allocations: 243.6 kB / 1.318 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/2.529, allocations: 132.7 kB / 1.318 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/2.529, allocations: 322.3 kB / 1.318 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/2.53, allocations: 37.62 kB / 1.318 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=29): time 2.845e-06/2.53, allocations: 0 / 1.318 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.001135/2.531, allocations: 481.4 kB / 1.319 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/2.531, allocations: 57.31 kB / 1.319 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/2.532, allocations: 1.063 MB / 1.32 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/2.532, allocations: 39.36 kB / 1.32 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/2.533, allocations: 0.5775 MB / 1.321 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/2.533, allocations: 106.6 kB / 1.321 GB, free: 12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/2.533, allocations: 45.59 kB / 1.321 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/2.533, allocations: 325.7 kB / 1.321 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/2.534, allocations: 133.2 kB / 1.321 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/2.534, allocations: 405.6 kB / 1.322 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/2.535, allocations: 0.5089 MB / 1.322 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/2.535, allocations: 3.156 kB / 1.322 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001021/2.536, allocations: 0.5798 MB / 1.323 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002538/2.536, allocations: 285 kB / 1.323 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/2.536, allocations: 5.719 kB / 1.323 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/2.536, allocations: 9.219 kB / 1.323 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/2.537, allocations: 183.2 kB / 1.323 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/2.539, allocations: 2.364 MB / 1.325 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/2.54, allocations: 116.3 kB / 1.326 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/2.54, allocations: 32.98 kB / 1.326 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/2.54, allocations: 8.75 kB / 1.326 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007983/2.54, allocations: 458.9 kB / 1.326 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/2.54, allocations: 5.25 kB / 1.326 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/2.541, allocations: 9.406 kB / 1.326 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/2.541, allocations: 120.1 kB / 1.326 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/2.541, allocations: 15.81 kB / 1.326 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/2.542, allocations: 120.3 kB / 1.326 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/2.542, allocations: 32.19 kB / 1.326 GB, free: 8.215 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.0007018/2.542, allocations: 367.3 kB / 1.327 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/2.543, allocations: 113.8 kB / 1.327 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/2.543, allocations: 405.2 kB / 1.327 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/2.543, allocations: 6.188 kB / 1.327 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/2.543, allocations: 2.516 kB / 1.327 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/2.543, allocations: 2.484 kB / 1.327 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/2.546, allocations: 1.297 MB / 1.328 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/2.546, allocations: 4.766 kB / 1.328 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/2.546, allocations: 90.62 kB / 1.329 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/2.546, allocations: 2.938 kB / 1.329 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/2.546, allocations: 10.91 kB / 1.329 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/2.548, allocations: 2.345 MB / 1.331 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/2.548, allocations: 7.25 kB / 1.331 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/2.548, allocations: 0.669 MB / 1.331 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/2.549, allocations: 213.4 kB / 1.332 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/2.549, allocations: 12.53 kB / 1.332 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/2.549, allocations: 52.25 kB / 1.332 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/2.55, allocations: 29.23 kB / 1.332 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/2.55, allocations: 8.781 kB / 1.332 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001171/2.551, allocations: 0.7412 MB / 1.333 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/2.551, allocations: 0 / 1.333 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001735/2.552, allocations: 481.9 kB / 1.333 GB, free: 4.523 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.0007462/2.553, allocations: 215.8 kB / 1.333 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001714/2.555, allocations: 0.6454 MB / 1.334 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.555, allocations: 3.281 kB / 1.334 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/2.555, allocations: 172.6 kB / 1.334 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/2.558, allocations: 0.5595 MB / 1.335 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/2.562, allocations: 2.292 MB / 1.337 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000827/2.563, allocations: 1.108 MB / 1.338 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009882/2.564, allocations: 235.2 kB / 1.338 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/2.564, allocations: 73.06 kB / 1.338 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of SimCode: time 1.463e-06/2.564, allocations: 0 / 1.338 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of Templates: time 0.04252/2.607, allocations: 18.35 MB / 1.356 GB, free: 11.66 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches