Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001016/0.001016, allocations: 91.84 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.001427/0.001427, 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.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.146/3.146, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004341, allocations: 11.94 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4286, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.106/1.535, allocations: 239.2 MB / 1.292 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02289/1.558, allocations: 17.77 MB / 1.309 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/1.56, allocations: 41.47 kB / 1.309 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/1.562, allocations: 489.9 kB / 1.309 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005165/1.568, allocations: 1.406 MB / 1.311 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/1.572, allocations: 1.042 MB / 1.312 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005647/1.577, allocations: 3.798 MB / 1.316 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/1.579, allocations: 0.8829 MB / 1.316 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007781/1.587, allocations: 2.407 MB / 1.319 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/1.59, allocations: 0.9528 MB / 1.32 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003235/1.59, allocations: 48.94 kB / 1.32 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/1.594, allocations: 0.9296 MB / 1.321 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006874/1.595, allocations: 354.8 kB / 1.321 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/1.596, allocations: 290.3 kB / 1.321 GB, free: 21.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/1.598, allocations: 1.414 MB / 1.323 GB, free: 21.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/1.598, allocations: 3.938 kB / 1.323 GB, free: 21.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.616e-06/1.598, allocations: 0 / 1.323 GB, free: 21.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.186e-05/1.598, allocations: 1.969 kB / 1.323 GB, free: 21.79 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.002266/1.601, allocations: 1.371 MB / 1.324 GB, free: 20.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.601, allocations: 10.06 kB / 1.324 GB, free: 20.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/1.602, allocations: 285.1 kB / 1.324 GB, free: 20.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/1.604, allocations: 0.7844 MB / 1.325 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/1.604, allocations: 72.47 kB / 1.325 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/1.604, allocations: 98.34 kB / 1.325 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/1.606, allocations: 0.9768 MB / 1.326 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.606, allocations: 1.375 kB / 1.326 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/1.606, allocations: 39.12 kB / 1.326 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/1.606, allocations: 27.33 kB / 1.326 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/1.607, allocations: 0.6382 MB / 1.327 GB, free: 20.34 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.005017/1.612, allocations: 4.387 MB / 1.331 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/1.613, allocations: 252.3 kB / 1.331 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/1.613, allocations: 131.5 kB / 1.331 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/1.614, allocations: 321.8 kB / 1.332 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.614, allocations: 38.02 kB / 1.332 GB, free: 17.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 3.366e-06/1.614, allocations: 0 / 1.332 GB, free: 17.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.00111/1.615, allocations: 484.9 kB / 1.332 GB, free: 17.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/1.615, allocations: 54.25 kB / 1.332 GB, free: 17.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/1.616, allocations: 1.075 MB / 1.333 GB, free: 16.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/1.616, allocations: 35.55 kB / 1.333 GB, free: 16.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/1.617, allocations: 0.5818 MB / 1.334 GB, free: 16.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.814e-05/1.617, allocations: 107.5 kB / 1.334 GB, free: 16.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/1.617, allocations: 14.8 kB / 1.334 GB, free: 16.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.617, allocations: 332.3 kB / 1.334 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/1.617, allocations: 125.7 kB / 1.335 GB, free: 16.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/1.617, allocations: 393 kB / 1.335 GB, free: 16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/1.618, allocations: 193.4 kB / 1.335 GB, free: 15.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.618, allocations: 3.344 kB / 1.335 GB, free: 15.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007702/1.618, allocations: 0.5846 MB / 1.336 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/1.619, allocations: 283.4 kB / 1.336 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.619, allocations: 13.53 kB / 1.336 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/1.619, allocations: 12.58 kB / 1.336 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/1.619, allocations: 175.7 kB / 1.336 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/1.621, allocations: 2.354 MB / 1.338 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008273/1.622, allocations: 127.2 kB / 1.339 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/1.622, allocations: 26.62 kB / 1.339 GB, free: 13.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/1.622, allocations: 5.812 kB / 1.339 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006329/1.622, allocations: 464.5 kB / 1.339 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.622, allocations: 7.672 kB / 1.339 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.622, allocations: 11.59 kB / 1.339 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/1.623, allocations: 120.3 kB / 1.339 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.623, allocations: 18.25 kB / 1.339 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/1.623, allocations: 116.5 kB / 1.339 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/1.623, allocations: 30.23 kB / 1.339 GB, free: 13.09 MB / 1.014 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.0005403/1.624, allocations: 361.2 kB / 1.34 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.624, allocations: 110.6 kB / 1.34 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/1.625, allocations: 413.9 kB / 1.34 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/1.625, allocations: 3.094 kB / 1.34 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.625, allocations: 3.953 kB / 1.34 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.625, allocations: 2.156 kB / 1.34 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/1.627, allocations: 1.298 MB / 1.341 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.627, allocations: 3.953 kB / 1.341 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/1.627, allocations: 85.59 kB / 1.342 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/1.627, allocations: 9.547 kB / 1.342 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/1.627, allocations: 9.875 kB / 1.342 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/1.628, allocations: 2.35 MB / 1.344 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.628, allocations: 6.156 kB / 1.344 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/1.629, allocations: 0.6656 MB / 1.344 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/1.629, allocations: 212.9 kB / 1.345 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.63, allocations: 15.19 kB / 1.345 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/1.63, allocations: 54.5 kB / 1.345 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/1.63, allocations: 30.48 kB / 1.345 GB, free: 9.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/1.63, allocations: 8.688 kB / 1.345 GB, free: 9.562 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009205/1.631, allocations: 0.7309 MB / 1.345 GB, free: 9.453 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.631, allocations: 3.938 kB / 1.346 GB, free: 9.449 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001338/1.632, allocations: 488.2 kB / 1.346 GB, free: 9.398 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 (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.000487/1.633, allocations: 212.4 kB / 1.346 GB, free: 9.289 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.634, allocations: 0.6369 MB / 1.347 GB, free: 9.273 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.634, allocations: 0 / 1.347 GB, free: 9.273 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/1.635, allocations: 177.4 kB / 1.347 GB, free: 9.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/1.637, allocations: 0.5976 MB / 1.348 GB, free: 9.215 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/1.64, allocations: 2.223 MB / 1.35 GB, free: 7.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/1.641, allocations: 1.106 MB / 1.351 GB, free: 7.262 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009235/1.642, allocations: 239.7 kB / 1.351 GB, free: 7.207 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/1.642, allocations: 75.39 kB / 1.351 GB, free: 7.199 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.642, allocations: 0 / 1.351 GB, free: 7.199 MB / 1.014 GB Notification: Performance of Templates: time 0.03185/1.674, allocations: 18.28 MB / 1.369 GB, free: 0.6445 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches