Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.64 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.001366/0.001366, allocations: 188.3 kB / 16.92 MB, free: 6.75 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7396/0.7399, allocations: 142.4 MB / 0.9557 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.038/1.778, allocations: 372.1 MB / 1.319 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04825/1.827, allocations: 44.2 MB / 1.362 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007388/1.834, allocations: 148.9 kB / 1.362 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007576/1.842, allocations: 2.376 MB / 1.365 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01831/1.86, allocations: 6.843 MB / 1.371 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009357/1.869, allocations: 3.416 MB / 1.375 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0167/1.886, allocations: 15.42 MB / 1.39 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00711/1.893, allocations: 4.546 MB / 1.394 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/1.906, allocations: 5.389 MB / 1.399 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008507/1.915, allocations: 3.423 MB / 1.403 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/1.916, allocations: 163.4 kB / 1.403 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/1.932, allocations: 6.827 MB / 1.41 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002822/1.935, allocations: 1.343 MB / 1.411 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004762/1.94, allocations: 2.356 MB / 1.413 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009486/1.949, allocations: 6.895 MB / 1.42 GB, free: 15.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.949, allocations: 0 / 1.42 GB, free: 15.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.775e-06/1.949, allocations: 0 / 1.42 GB, free: 15.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002462/1.949, allocations: 0 / 1.42 GB, free: 15.54 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: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01034/1.96, allocations: 4.687 MB / 1.425 GB, free: 10.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.96, allocations: 12.03 kB / 1.425 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/1.973, allocations: 2.099 MB / 1.427 GB, free: 8.719 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008413/1.981, allocations: 3.662 MB / 1.43 GB, free: 5.113 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001633/1.983, allocations: 0.6298 MB / 1.431 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000987/1.984, allocations: 342.9 kB / 1.431 GB, free: 4.129 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/1.994, allocations: 4.597 MB / 1.436 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.414e-05/1.994, allocations: 4 kB / 1.436 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003818/1.995, allocations: 139.8 kB / 1.436 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/1.995, allocations: 134.5 kB / 1.436 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/2.005, allocations: 4.159 MB / 1.44 GB, free: 11 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.02989/2.035, allocations: 18.72 MB / 1.458 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/2.04, allocations: 1.907 MB / 1.46 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/2.042, allocations: 0.9802 MB / 1.461 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/2.043, allocations: 412.8 kB / 1.461 GB, free: 3.672 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002777/2.046, allocations: 1.155 MB / 1.463 GB, free: 2.492 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001885/2.048, allocations: 150.2 kB / 1.463 GB, free: 2.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 3.306e-06/2.048, allocations: 0 / 1.463 GB, free: 2.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=133): time 0.009013/2.057, allocations: 3.034 MB / 1.466 GB, free: 15.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/2.057, allocations: 141.8 kB / 1.466 GB, free: 15.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006552/2.063, allocations: 3.393 MB / 1.469 GB, free: 11.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003106/2.064, allocations: 61.45 kB / 1.469 GB, free: 11.63 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002234/2.066, allocations: 2.136 MB / 1.471 GB, free: 9.484 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006331/2.066, allocations: 480.7 kB / 1.472 GB, free: 9.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/2.067, allocations: 194.2 kB / 1.472 GB, free: 8.824 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000106/2.067, allocations: 301.1 kB / 1.472 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/2.07, allocations: 1.094 MB / 1.473 GB, free: 7.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/2.074, allocations: 2.123 MB / 1.475 GB, free: 4.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006595/2.081, allocations: 3.16 MB / 1.478 GB, free: 1.223 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.403e-05/2.081, allocations: 16 kB / 1.478 GB, free: 1.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.009238/2.09, allocations: 3.475 MB / 1.482 GB, free: 13.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.000861/2.091, allocations: 1.046 MB / 1.483 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.333e-05/2.091, allocations: 39.88 kB / 1.483 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-05/2.091, allocations: 44 kB / 1.483 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/2.094, allocations: 0.6474 MB / 1.484 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.012e-05/2.094, allocations: 71.72 kB / 1.484 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00512/2.099, allocations: 0.6328 MB / 1.484 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/2.1, allocations: 128 kB / 1.484 GB, free: 10.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/2.1, allocations: 4 kB / 1.484 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007885/2.108, allocations: 3.082 MB / 1.487 GB, free: 7.574 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.402e-05/2.108, allocations: 28.66 kB / 1.487 GB, free: 7.547 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.502e-05/2.108, allocations: 48 kB / 1.487 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/2.111, allocations: 0.6474 MB / 1.488 GB, free: 6.852 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.726e-05/2.111, allocations: 67.72 kB / 1.488 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004533/2.115, allocations: 0.5237 MB / 1.489 GB, free: 6.262 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/2.116, allocations: 124 kB / 1.489 GB, free: 6.141 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 284 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002655/2.118, allocations: 1.168 MB / 1.49 GB, free: 4.961 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009315/2.119, allocations: 355.4 kB / 1.49 GB, free: 4.609 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00652/2.126, allocations: 2.427 MB / 1.493 GB, free: 2.152 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/2.126, allocations: 12 kB / 1.493 GB, free: 2.141 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/2.126, allocations: 4 kB / 1.493 GB, free: 2.137 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004919/2.131, allocations: 2.054 MB / 1.495 GB, free: 15.99 MB / 1.092 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 postOpt removeSimpleEquations (simulation): time 0.01658/2.148, allocations: 6.502 MB / 1.501 GB, free: 9.273 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/2.148, allocations: 12 kB / 1.501 GB, free: 9.262 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/2.149, allocations: 348.1 kB / 1.501 GB, free: 8.922 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/2.15, allocations: 52.83 kB / 1.501 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/2.15, allocations: 43.98 kB / 1.501 GB, free: 8.824 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/2.151, allocations: 1.436 MB / 1.503 GB, free: 7.254 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/2.151, allocations: 15.94 kB / 1.503 GB, free: 7.238 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008615/2.16, allocations: 3.473 MB / 1.506 GB, free: 3.617 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/2.162, allocations: 0.6057 MB / 1.507 GB, free: 2.988 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008696/2.162, allocations: 32 kB / 1.507 GB, free: 2.957 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003545/2.166, allocations: 347.5 kB / 1.507 GB, free: 2.617 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/2.166, allocations: 120.9 kB / 1.507 GB, free: 2.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/2.166, allocations: 59.97 kB / 1.507 GB, free: 2.441 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004844/2.171, allocations: 2.295 MB / 1.51 GB, free: 140 kB / 1.092 GB Notification: Performance of sort global known variables: time 5.51e-07/2.171, allocations: 0 / 1.51 GB, free: 140 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.007088/2.178, allocations: 2.037 MB / 1.512 GB, free: 14.09 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/2.18, allocations: 0.503 MB / 1.512 GB, free: 13.62 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01109/2.191, allocations: 4.063 MB / 1.516 GB, free: 9.547 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/2.191, allocations: 4.062 kB / 1.516 GB, free: 9.543 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002992/2.194, allocations: 1.076 MB / 1.517 GB, free: 8.457 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01461/2.209, allocations: 1.626 MB / 1.519 GB, free: 6.84 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/2.229, allocations: 9.665 MB / 1.528 GB, free: 13.01 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003645/2.233, allocations: 2.657 MB / 1.531 GB, free: 10.32 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/2.234, allocations: 275.4 kB / 1.531 GB, free: 10.05 MB / 1.123 GB Notification: Performance of SimCode: time 7.82e-07/2.234, allocations: 0 / 1.531 GB, free: 10.05 MB / 1.123 GB Notification: Performance of Templates: time 0.1063/2.341, allocations: 72.84 MB / 1.602 GB, free: 1.59 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches