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.001204/0.001204, allocations: 98.88 kB / 16.02 MB, free: 76 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.002715/0.002715, allocations: 184.9 kB / 16.92 MB, free: 6.684 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.49/1.49, allocations: 223.3 MB / 241 MB, free: 5.324 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 2.6/2.6, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.6404, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9627/1.603, allocations: 256.3 MB / 1.274 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02186/1.625, allocations: 18.97 MB / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/1.627, allocations: 45.09 kB / 1.293 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/1.63, allocations: 0.6118 MB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005521/1.635, allocations: 1.716 MB / 1.295 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/1.639, allocations: 1.3 MB / 1.296 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005272/1.644, allocations: 4.537 MB / 1.3 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/1.646, allocations: 0.9599 MB / 1.301 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/1.657, allocations: 2.895 MB / 1.304 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/1.66, allocations: 1.001 MB / 1.305 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/1.66, allocations: 53.31 kB / 1.305 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/1.663, allocations: 1.706 MB / 1.307 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004393/1.664, allocations: 363.2 kB / 1.307 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000961/1.665, allocations: 0.6537 MB / 1.308 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/1.667, allocations: 1.475 MB / 1.309 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/1.667, allocations: 0 / 1.309 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.166e-06/1.667, allocations: 0 / 1.309 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.533e-05/1.667, allocations: 0 / 1.309 GB, free: 1.242 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.002154/1.669, allocations: 1.339 MB / 1.311 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.669, allocations: 12.55 kB / 1.311 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.67, allocations: 286.4 kB / 1.311 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/1.672, allocations: 0.8202 MB / 1.312 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/1.672, allocations: 72.22 kB / 1.312 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/1.672, allocations: 97.7 kB / 1.312 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/1.674, allocations: 0.9853 MB / 1.313 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/1.674, allocations: 9.719 kB / 1.313 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/1.674, allocations: 37.28 kB / 1.313 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/1.674, allocations: 23.09 kB / 1.313 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009238/1.675, allocations: 0.6423 MB / 1.314 GB, free: 15.77 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.004193/1.679, allocations: 4.386 MB / 1.318 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/1.679, allocations: 246.2 kB / 1.318 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/1.679, allocations: 133.6 kB / 1.318 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/1.68, allocations: 321.3 kB / 1.319 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/1.68, allocations: 37.69 kB / 1.319 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/1.68, allocations: 0 / 1.319 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.0008995/1.681, allocations: 482.6 kB / 1.319 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.681, allocations: 57.41 kB / 1.319 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.682, allocations: 1.068 MB / 1.32 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/1.682, allocations: 35.56 kB / 1.32 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/1.683, allocations: 0.5732 MB / 1.321 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/1.683, allocations: 108.1 kB / 1.321 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/1.683, allocations: 46.02 kB / 1.321 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.683, allocations: 331.5 kB / 1.321 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/1.683, allocations: 136 kB / 1.321 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/1.684, allocations: 405.1 kB / 1.322 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/1.684, allocations: 0.5031 MB / 1.322 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.684, allocations: 0.5625 kB / 1.322 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008524/1.685, allocations: 0.5883 MB / 1.323 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.685, allocations: 287.8 kB / 1.323 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.685, allocations: 8.781 kB / 1.323 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.685, allocations: 8.594 kB / 1.323 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/1.686, allocations: 176.8 kB / 1.323 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/1.687, allocations: 2.358 MB / 1.326 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/1.688, allocations: 124.4 kB / 1.326 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/1.688, allocations: 28.61 kB / 1.326 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/1.688, allocations: 1.75 kB / 1.326 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007122/1.689, allocations: 466 kB / 1.326 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.689, allocations: 6.062 kB / 1.326 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/1.689, allocations: 8.375 kB / 1.326 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/1.689, allocations: 118.4 kB / 1.326 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.69, allocations: 15.34 kB / 1.326 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/1.69, allocations: 121.6 kB / 1.326 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/1.69, allocations: 26.69 kB / 1.326 GB, free: 8.258 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.0005333/1.691, allocations: 369.5 kB / 1.327 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/1.691, allocations: 110.2 kB / 1.327 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007213/1.692, allocations: 409.5 kB / 1.327 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.692, allocations: 7.516 kB / 1.327 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.692, allocations: 2.875 kB / 1.327 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/1.692, allocations: 2.062 kB / 1.327 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/1.694, allocations: 1.306 MB / 1.329 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.694, allocations: 4.688 kB / 1.329 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/1.694, allocations: 85.84 kB / 1.329 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.694, allocations: 3.812 kB / 1.329 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.694, allocations: 14.06 kB / 1.329 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/1.695, allocations: 2.345 MB / 1.331 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.695, allocations: 9.594 kB / 1.331 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007666/1.696, allocations: 0.659 MB / 1.332 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/1.696, allocations: 219.6 kB / 1.332 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.696, allocations: 17.2 kB / 1.332 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/1.697, allocations: 49.3 kB / 1.332 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/1.697, allocations: 25.47 kB / 1.332 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/1.697, allocations: 10.12 kB / 1.332 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008749/1.698, allocations: 0.7318 MB / 1.333 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.698, allocations: 2.625 kB / 1.333 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001278/1.699, allocations: 490 kB / 1.333 GB, free: 4.562 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.0004677/1.699, allocations: 207.9 kB / 1.333 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001433/1.701, allocations: 0.6434 MB / 1.334 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.701, allocations: 0 / 1.334 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/1.701, allocations: 172.1 kB / 1.334 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/1.704, allocations: 0.5713 MB / 1.335 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/1.707, allocations: 2.354 MB / 1.337 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/1.708, allocations: 1.104 MB / 1.338 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/1.708, allocations: 78.95 kB / 1.338 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.708, allocations: 0 / 1.338 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of Templates: time 0.04006/1.748, allocations: 35.38 MB / 1.373 GB, free: 1.531 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches