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.001568/0.001568, 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.001784/0.001784, allocations: 192.6 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.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.764/2.764, allocations: 437 MB / 0.7104 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 59.91 kB / 0.8692 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9936/0.9949, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.029/2.024, allocations: 261.9 MB / 1.273 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02675/2.05, allocations: 19.12 MB / 1.292 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/2.054, allocations: 49.88 kB / 1.292 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002721/2.056, allocations: 0.7494 MB / 1.292 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007092/2.063, allocations: 1.807 MB / 1.294 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005303/2.069, allocations: 1.46 MB / 1.296 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006105/2.075, allocations: 3.074 MB / 1.299 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/2.078, allocations: 1.244 MB / 1.3 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/2.088, allocations: 3.173 MB / 1.303 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/2.091, allocations: 0.9895 MB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003498/2.092, allocations: 102.2 kB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/2.096, allocations: 1.519 MB / 1.306 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008899/2.097, allocations: 417.2 kB / 1.306 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/2.099, allocations: 0.6999 MB / 1.307 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004445/2.104, allocations: 2.029 MB / 1.309 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/2.104, allocations: 1.031 kB / 1.309 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.765e-06/2.104, allocations: 1.812 kB / 1.309 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.208e-05/2.104, allocations: 0 / 1.309 GB, free: 1.34 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.002801/2.107, allocations: 1.572 MB / 1.31 GB, free: 16.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/2.107, allocations: 14.73 kB / 1.31 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/2.108, allocations: 277.3 kB / 1.31 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/2.11, allocations: 0.8211 MB / 1.311 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/2.11, allocations: 78.14 kB / 1.311 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/2.11, allocations: 95.72 kB / 1.311 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/2.111, allocations: 1.007 MB / 1.312 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/2.111, allocations: 6.094 kB / 1.312 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/2.111, allocations: 37.94 kB / 1.312 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/2.111, allocations: 22.12 kB / 1.312 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009804/2.112, allocations: 0.6467 MB / 1.313 GB, free: 15.82 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.005635/2.118, allocations: 4.723 MB / 1.318 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/2.118, allocations: 252.6 kB / 1.318 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/2.119, allocations: 130.4 kB / 1.318 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006514/2.119, allocations: 314.3 kB / 1.318 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/2.119, allocations: 35.92 kB / 1.318 GB, free: 12.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.084e-06/2.119, allocations: 0.9062 kB / 1.318 GB, free: 12.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001066/2.12, allocations: 481.6 kB / 1.319 GB, free: 12.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/2.12, allocations: 64.78 kB / 1.319 GB, free: 12.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/2.122, allocations: 1.081 MB / 1.32 GB, free: 12.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/2.122, allocations: 34.55 kB / 1.32 GB, free: 12.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/2.122, allocations: 0.5793 MB / 1.321 GB, free: 11.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/2.122, allocations: 105.5 kB / 1.321 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/2.123, allocations: 118.9 kB / 1.321 GB, free: 11.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001374/2.123, allocations: 330.4 kB / 1.321 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/2.123, allocations: 142.8 kB / 1.321 GB, free: 11.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/2.123, allocations: 426.6 kB / 1.322 GB, free: 11.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/2.124, allocations: 0.5383 MB / 1.322 GB, free: 10.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/2.124, allocations: 7.594 kB / 1.322 GB, free: 10.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009108/2.125, allocations: 0.6173 MB / 1.323 GB, free: 10.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/2.125, allocations: 7.781 kB / 1.323 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/2.125, allocations: 8.594 kB / 1.323 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/2.125, allocations: 14.91 kB / 1.323 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/2.126, allocations: 183.8 kB / 1.323 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/2.127, allocations: 2.356 MB / 1.325 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/2.128, allocations: 94.38 kB / 1.325 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/2.128, allocations: 33.56 kB / 1.325 GB, free: 8.336 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008126/2.129, allocations: 369.4 kB / 1.326 GB, free: 8.254 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005086/2.13, allocations: 429.2 kB / 1.326 GB, free: 7.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006657/2.13, allocations: 0.5167 MB / 1.327 GB, free: 7.629 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/2.13, allocations: 6.344 kB / 1.327 GB, free: 7.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001014/2.132, allocations: 0.6215 MB / 1.327 GB, free: 7.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/2.132, allocations: 9.188 kB / 1.327 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/2.132, allocations: 11.03 kB / 1.327 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/2.132, allocations: 11.44 kB / 1.327 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/2.132, allocations: 130.7 kB / 1.327 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/2.132, allocations: 16.84 kB / 1.327 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/2.133, allocations: 53.31 kB / 1.327 GB, free: 7.492 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/2.133, allocations: 29.09 kB / 1.327 GB, free: 7.492 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.0002333/2.133, allocations: 215 kB / 1.328 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/2.133, allocations: 116.5 kB / 1.328 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007942/2.134, allocations: 415.6 kB / 1.328 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/2.134, allocations: 2.406 kB / 1.328 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.134, allocations: 0 / 1.328 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/2.134, allocations: 0 / 1.328 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/2.136, allocations: 1.297 MB / 1.329 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/2.136, allocations: 2.844 kB / 1.329 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/2.136, allocations: 93.48 kB / 1.33 GB, free: 6.777 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/2.136, allocations: 2.906 kB / 1.33 GB, free: 6.777 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/2.136, allocations: 12.28 kB / 1.33 GB, free: 6.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/2.138, allocations: 2.346 MB / 1.332 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/2.138, allocations: 6.438 kB / 1.332 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/2.139, allocations: 0.6603 MB / 1.333 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/2.139, allocations: 220.6 kB / 1.333 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/2.139, allocations: 10.31 kB / 1.333 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/2.139, allocations: 5.031 kB / 1.333 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/2.139, allocations: 32.06 kB / 1.333 GB, free: 3.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/2.139, allocations: 10.12 kB / 1.333 GB, free: 3.992 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009514/2.14, allocations: 0.7395 MB / 1.334 GB, free: 3.883 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/2.14, allocations: 4 kB / 1.334 GB, free: 3.879 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001403/2.142, allocations: 491.6 kB / 1.334 GB, free: 3.828 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.0004927/2.142, allocations: 209.8 kB / 1.334 GB, free: 3.711 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001654/2.144, allocations: 0.6797 MB / 1.335 GB, free: 3.691 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/2.144, allocations: 2.625 kB / 1.335 GB, free: 3.691 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/2.144, allocations: 180.5 kB / 1.335 GB, free: 3.684 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/2.147, allocations: 0.5891 MB / 1.336 GB, free: 3.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/2.15, allocations: 1.877 MB / 1.337 GB, free: 2.629 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/2.151, allocations: 1.102 MB / 1.338 GB, free: 1.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001091/2.152, allocations: 241.2 kB / 1.339 GB, free: 1.855 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/2.152, allocations: 78.84 kB / 1.339 GB, free: 1.848 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/2.152, allocations: 0 / 1.339 GB, free: 1.848 MB / 1.014 GB Notification: Performance of Templates: time 0.04194/2.194, allocations: 19.25 MB / 1.358 GB, free: 14.25 MB / 1.029 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