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.001151/0.001151, allocations: 112.6 kB / 16.37 MB, free: 6 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.001297/0.001297, allocations: 196 kB / 17.31 MB, free: 5.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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 442.5 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 60.05 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3911, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9321/1.323, allocations: 261.9 MB / 1.282 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02542/1.349, allocations: 19.11 MB / 1.301 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/1.352, allocations: 47.75 kB / 1.301 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002724/1.354, allocations: 0.7452 MB / 1.302 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005878/1.36, allocations: 1.82 MB / 1.304 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00437/1.365, allocations: 1.468 MB / 1.305 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004619/1.369, allocations: 3.085 MB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/1.371, allocations: 1.225 MB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008671/1.38, allocations: 3.178 MB / 1.312 GB, free: 8.484 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/1.382, allocations: 0.9919 MB / 1.313 GB, free: 7.488 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/1.382, allocations: 100 kB / 1.314 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/1.385, allocations: 1.524 MB / 1.315 GB, free: 5.863 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/1.386, allocations: 426.7 kB / 1.315 GB, free: 5.445 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009633/1.387, allocations: 0.6998 MB / 1.316 GB, free: 4.742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/1.39, allocations: 2.045 MB / 1.318 GB, free: 2.691 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.39, allocations: 0 / 1.318 GB, free: 2.691 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/1.39, allocations: 0 / 1.318 GB, free: 2.691 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.508e-05/1.39, allocations: 4 kB / 1.318 GB, free: 2.688 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.00222/1.392, allocations: 1.569 MB / 1.32 GB, free: 1.066 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.392, allocations: 8.031 kB / 1.32 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/1.394, allocations: 286.1 kB / 1.32 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.395, allocations: 0.8624 MB / 1.321 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/1.395, allocations: 78 kB / 1.321 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/1.395, allocations: 92 kB / 1.321 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/1.397, allocations: 1.007 MB / 1.322 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.397, allocations: 11.56 kB / 1.322 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/1.397, allocations: 39.94 kB / 1.322 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/1.397, allocations: 24 kB / 1.322 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009784/1.398, allocations: 0.6479 MB / 1.323 GB, free: 13.91 MB / 1.029 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.004423/1.402, allocations: 4.692 MB / 1.327 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/1.403, allocations: 250.9 kB / 1.327 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.403, allocations: 129.2 kB / 1.328 GB, free: 8.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/1.404, allocations: 307.2 kB / 1.328 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/1.404, allocations: 38.56 kB / 1.328 GB, free: 8.098 MB / 1.029 GB Notification: Performance of pre-optimization done (n=29): time 1.993e-06/1.404, allocations: 0 / 1.328 GB, free: 8.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.0009585/1.405, allocations: 485.1 kB / 1.328 GB, free: 7.617 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.405, allocations: 59.34 kB / 1.328 GB, free: 7.547 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.406, allocations: 1.079 MB / 1.329 GB, free: 6.457 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/1.406, allocations: 33.7 kB / 1.329 GB, free: 6.418 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/1.406, allocations: 0.5777 MB / 1.33 GB, free: 5.836 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/1.407, allocations: 114.5 kB / 1.33 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/1.407, allocations: 118.1 kB / 1.33 GB, free: 5.598 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.407, allocations: 330 kB / 1.331 GB, free: 5.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/1.407, allocations: 147 kB / 1.331 GB, free: 5.125 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/1.408, allocations: 429.5 kB / 1.331 GB, free: 4.578 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/1.408, allocations: 0.5213 MB / 1.332 GB, free: 3.953 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.408, allocations: 4 kB / 1.332 GB, free: 3.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009243/1.409, allocations: 0.6197 MB / 1.332 GB, free: 3.324 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.409, allocations: 8 kB / 1.332 GB, free: 3.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.409, allocations: 11.94 kB / 1.332 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/1.409, allocations: 12 kB / 1.332 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/1.41, allocations: 185.3 kB / 1.332 GB, free: 3.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/1.411, allocations: 2.36 MB / 1.335 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/1.412, allocations: 86.97 kB / 1.335 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/1.412, allocations: 39.92 kB / 1.335 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005504/1.413, allocations: 369.1 kB / 1.335 GB, free: 176 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004322/1.413, allocations: 425.5 kB / 1.336 GB, free: 15.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006734/1.414, allocations: 0.5269 MB / 1.336 GB, free: 15 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.36e-06/1.414, allocations: 4 kB / 1.336 GB, free: 14.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001008/1.415, allocations: 0.62 MB / 1.337 GB, free: 14.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.415, allocations: 12 kB / 1.337 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.415, allocations: 4 kB / 1.337 GB, free: 14.35 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.415, allocations: 12 kB / 1.337 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/1.415, allocations: 131.8 kB / 1.337 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.415, allocations: 8 kB / 1.337 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/1.416, allocations: 51.61 kB / 1.337 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/1.416, allocations: 36.25 kB / 1.337 GB, free: 14.12 MB / 1.045 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.0002491/1.416, allocations: 220 kB / 1.337 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.416, allocations: 118.6 kB / 1.337 GB, free: 13.78 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007253/1.417, allocations: 404.9 kB / 1.338 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.417, allocations: 4 kB / 1.338 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.417, allocations: 7.938 kB / 1.338 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.417, allocations: 3.938 kB / 1.338 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/1.419, allocations: 1.289 MB / 1.339 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.419, allocations: 4 kB / 1.339 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/1.42, allocations: 83.95 kB / 1.339 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/1.42, allocations: 7.984 kB / 1.339 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/1.42, allocations: 12 kB / 1.339 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/1.421, allocations: 2.348 MB / 1.341 GB, free: 9.441 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.421, allocations: 4.094 kB / 1.341 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/1.422, allocations: 0.6661 MB / 1.342 GB, free: 8.727 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/1.422, allocations: 215.6 kB / 1.342 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/1.422, allocations: 15.94 kB / 1.342 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/1.422, allocations: 8 kB / 1.342 GB, free: 8.473 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/1.422, allocations: 31.91 kB / 1.342 GB, free: 8.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/1.422, allocations: 12 kB / 1.342 GB, free: 8.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009456/1.423, allocations: 0.7486 MB / 1.343 GB, free: 7.676 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.71e-07/1.423, allocations: 3.828 kB / 1.343 GB, free: 7.676 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001287/1.425, allocations: 487.1 kB / 1.343 GB, free: 7.199 MB / 1.045 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.0004873/1.425, allocations: 204.7 kB / 1.344 GB, free: 7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001538/1.427, allocations: 0.674 MB / 1.344 GB, free: 6.328 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.427, allocations: 4 kB / 1.344 GB, free: 6.324 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/1.427, allocations: 163.7 kB / 1.345 GB, free: 6.164 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.429, allocations: 0.5873 MB / 1.345 GB, free: 5.586 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/1.432, allocations: 1.849 MB / 1.347 GB, free: 3.676 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/1.433, allocations: 1.103 MB / 1.348 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006951/1.433, allocations: 241.4 kB / 1.348 GB, free: 2.305 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/1.434, allocations: 71.44 kB / 1.348 GB, free: 2.234 MB / 1.045 GB Notification: Performance of SimCode: time 6.91e-07/1.434, allocations: 0 / 1.348 GB, free: 2.234 MB / 1.045 GB Notification: Performance of Templates: time 0.03582/1.469, allocations: 19.26 MB / 1.367 GB, free: 15.25 MB / 1.076 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches