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.001001/0.001001, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.00117/0.00117, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 223.3 MB / 240 MB, free: 5.305 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 3.434/3.434, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004757, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.115, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.405/2.52, allocations: 239.1 MB / 1.256 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03082/2.551, allocations: 17.76 MB / 1.273 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/2.555, allocations: 45.62 kB / 1.273 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002884/2.558, allocations: 496.1 kB / 1.274 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007478/2.565, allocations: 1.403 MB / 1.275 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00564/2.571, allocations: 1.054 MB / 1.276 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009329/2.58, allocations: 3.795 MB / 1.28 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/2.583, allocations: 0.8805 MB / 1.281 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/2.594, allocations: 2.407 MB / 1.283 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/2.598, allocations: 0.9466 MB / 1.284 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004085/2.598, allocations: 48.09 kB / 1.284 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/2.603, allocations: 0.925 MB / 1.285 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008079/2.604, allocations: 355 kB / 1.285 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/2.606, allocations: 290.6 kB / 1.286 GB, free: 23.49 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003134/2.609, allocations: 1.408 MB / 1.287 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/2.609, allocations: 0 / 1.287 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.545e-06/2.609, allocations: 0 / 1.287 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.306e-05/2.609, allocations: 0 / 1.287 GB, free: 23.36 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.002469/2.611, allocations: 1.351 MB / 1.288 GB, free: 22.53 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/2.611, allocations: 17.66 kB / 1.288 GB, free: 22.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/2.613, allocations: 287.5 kB / 1.289 GB, free: 22.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/2.614, allocations: 0.7848 MB / 1.289 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/2.614, allocations: 71.59 kB / 1.289 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/2.615, allocations: 99.83 kB / 1.289 GB, free: 22.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/2.616, allocations: 0.9825 MB / 1.29 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/2.616, allocations: 2.906 kB / 1.29 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/2.616, allocations: 40.22 kB / 1.29 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/2.616, allocations: 22.38 kB / 1.29 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/2.617, allocations: 0.6396 MB / 1.291 GB, free: 21.92 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.005337/2.623, allocations: 4.379 MB / 1.295 GB, free: 19.19 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/2.623, allocations: 251.5 kB / 1.296 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/2.623, allocations: 129 kB / 1.296 GB, free: 19.15 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006375/2.624, allocations: 321.1 kB / 1.296 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/2.624, allocations: 43.64 kB / 1.296 GB, free: 18.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=29): time 4.288e-06/2.624, allocations: 0 / 1.296 GB, free: 18.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.001189/2.625, allocations: 468.6 kB / 1.297 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/2.625, allocations: 66.38 kB / 1.297 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/2.627, allocations: 1.06 MB / 1.298 GB, free: 18.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/2.627, allocations: 31.86 kB / 1.298 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/2.627, allocations: 0.5739 MB / 1.298 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/2.627, allocations: 112.8 kB / 1.298 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/2.627, allocations: 8.688 kB / 1.298 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/2.628, allocations: 327.5 kB / 1.299 GB, free: 17.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/2.628, allocations: 128 kB / 1.299 GB, free: 17.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/2.628, allocations: 396.8 kB / 1.299 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/2.629, allocations: 189.3 kB / 1.299 GB, free: 17.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/2.629, allocations: 3.125 kB / 1.299 GB, free: 17.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009424/2.63, allocations: 0.5871 MB / 1.3 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/2.63, allocations: 287 kB / 1.3 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/2.63, allocations: 11.34 kB / 1.3 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/2.63, allocations: 9.469 kB / 1.3 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/2.631, allocations: 173.4 kB / 1.3 GB, free: 17.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/2.632, allocations: 2.356 MB / 1.303 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/2.633, allocations: 117.9 kB / 1.303 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/2.633, allocations: 35.69 kB / 1.303 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/2.633, allocations: 5.812 kB / 1.303 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006965/2.634, allocations: 459.5 kB / 1.303 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.634, allocations: 8.219 kB / 1.303 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/2.634, allocations: 8.625 kB / 1.303 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/2.634, allocations: 118.9 kB / 1.303 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/2.634, allocations: 14.44 kB / 1.303 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/2.635, allocations: 114.1 kB / 1.304 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/2.635, allocations: 37.31 kB / 1.304 GB, free: 14.67 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006507/2.636, allocations: 365.8 kB / 1.304 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/2.636, allocations: 114.6 kB / 1.304 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/2.636, allocations: 402.7 kB / 1.304 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/2.636, allocations: 5.938 kB / 1.304 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.636, allocations: 3.031 kB / 1.304 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/2.636, allocations: 0 / 1.304 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/2.639, allocations: 1.305 MB / 1.306 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/2.639, allocations: 1.938 kB / 1.306 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/2.639, allocations: 92.58 kB / 1.306 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/2.639, allocations: 2.625 kB / 1.306 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/2.639, allocations: 9.531 kB / 1.306 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/2.64, allocations: 2.349 MB / 1.308 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/2.64, allocations: 5.938 kB / 1.308 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/2.641, allocations: 0.6497 MB / 1.309 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/2.641, allocations: 219.6 kB / 1.309 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/2.641, allocations: 16.52 kB / 1.309 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/2.642, allocations: 49.2 kB / 1.309 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/2.642, allocations: 30.3 kB / 1.309 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/2.642, allocations: 9.875 kB / 1.309 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009853/2.643, allocations: 0.7217 MB / 1.31 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/2.643, allocations: 0 / 1.31 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001456/2.644, allocations: 492 kB / 1.31 GB, free: 10.99 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005436/2.645, allocations: 216.6 kB / 1.31 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001621/2.647, allocations: 0.6354 MB / 1.311 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/2.647, allocations: 0 / 1.311 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/2.647, allocations: 176.4 kB / 1.311 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/2.65, allocations: 0.5623 MB / 1.312 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/2.653, allocations: 2.204 MB / 1.314 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/2.654, allocations: 1.106 MB / 1.315 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001134/2.655, allocations: 236 kB / 1.315 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/2.655, allocations: 76.48 kB / 1.315 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/2.655, allocations: 0 / 1.315 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of Templates: time 0.03912/2.694, allocations: 17.84 MB / 1.333 GB, free: 4.605 MB / 0.9981 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