Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.ThermalZoneHVACNoExhaust,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.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,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.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 99.19 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.001278/0.001278, allocations: 182.1 kB / 16.92 MB, free: 6.918 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.25 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.468/2.468, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 12.28 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6918, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.034/1.726, allocations: 335.8 MB / 1.284 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04606/1.772, allocations: 36.35 MB / 1.319 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006792/1.779, allocations: 121.9 kB / 1.319 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00686/1.786, allocations: 1.974 MB / 1.321 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01742/1.804, allocations: 5.408 MB / 1.326 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009157/1.813, allocations: 2.741 MB / 1.329 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01701/1.83, allocations: 11.37 MB / 1.34 GB, free: 17.03 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006535/1.836, allocations: 3.445 MB / 1.344 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/1.849, allocations: 4.181 MB / 1.348 GB, free: 16.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008057/1.857, allocations: 2.547 MB / 1.35 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001337/1.858, allocations: 122.5 kB / 1.35 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/1.872, allocations: 5.716 MB / 1.356 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00274/1.875, allocations: 0.9752 MB / 1.357 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004897/1.88, allocations: 1.77 MB / 1.359 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009905/1.89, allocations: 5.252 MB / 1.364 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.89, allocations: 0 / 1.364 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.89, allocations: 0 / 1.364 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001915/1.89, allocations: 0 / 1.364 GB, free: 13.64 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.009677/1.9, allocations: 3.645 MB / 1.367 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.9, allocations: 13.34 kB / 1.367 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009383/1.909, allocations: 1.559 MB / 1.369 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006648/1.916, allocations: 2.763 MB / 1.371 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001175/1.917, allocations: 486 kB / 1.372 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/1.918, allocations: 257.5 kB / 1.372 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007444/1.926, allocations: 3.439 MB / 1.376 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.693e-05/1.926, allocations: 0 / 1.376 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/1.926, allocations: 102.6 kB / 1.376 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/1.926, allocations: 109.5 kB / 1.376 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007436/1.934, allocations: 3.117 MB / 1.379 GB, free: 7.742 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.02388/1.958, allocations: 14.16 MB / 1.393 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/1.962, allocations: 1.663 MB / 1.394 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/1.963, allocations: 0.7254 MB / 1.395 GB, free: 13.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/1.964, allocations: 307.6 kB / 1.395 GB, free: 13.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001927/1.966, allocations: 0.8566 MB / 1.396 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001517/1.967, allocations: 112.2 kB / 1.396 GB, free: 12.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 3.516e-06/1.967, allocations: 0 / 1.396 GB, free: 12.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.006512/1.974, allocations: 2.244 MB / 1.398 GB, free: 11.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/1.974, allocations: 122 kB / 1.398 GB, free: 11.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004709/1.979, allocations: 2.516 MB / 1.401 GB, free: 9.062 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003312/1.979, allocations: 53.64 kB / 1.401 GB, free: 9.004 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.98, allocations: 1.587 MB / 1.403 GB, free: 7.406 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/1.981, allocations: 384.2 kB / 1.403 GB, free: 7.035 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/1.981, allocations: 145.6 kB / 1.403 GB, free: 6.887 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.981, allocations: 301.1 kB / 1.403 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/1.984, allocations: 0.8042 MB / 1.404 GB, free: 5.785 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/1.986, allocations: 1.522 MB / 1.406 GB, free: 3.953 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/1.991, allocations: 2.241 MB / 1.408 GB, free: 1.504 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/1.991, allocations: 4 kB / 1.408 GB, free: 1.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00666/1.998, allocations: 2.544 MB / 1.41 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005483/1.998, allocations: 0.7355 MB / 1.411 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/1.998, allocations: 24 kB / 1.411 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/1.998, allocations: 31.94 kB / 1.411 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/2.001, allocations: 497.5 kB / 1.412 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.321e-05/2.001, allocations: 44.33 kB / 1.412 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/2.005, allocations: 475.3 kB / 1.412 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/2.005, allocations: 91.97 kB / 1.412 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/2.005, allocations: 8 kB / 1.412 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005725/2.011, allocations: 2.266 MB / 1.414 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.865e-05/2.011, allocations: 20 kB / 1.414 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/2.011, allocations: 32 kB / 1.414 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/2.013, allocations: 488.2 kB / 1.415 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.346e-05/2.013, allocations: 44.8 kB / 1.415 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/2.017, allocations: 393.1 kB / 1.415 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/2.017, allocations: 95.97 kB / 1.415 GB, free: 9.781 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * 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 (215): * Single equations (assignments): 212 * Array equations: 2 * 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.001863/2.019, allocations: 0.885 MB / 1.416 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006377/2.019, allocations: 268.6 kB / 1.416 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004435/2.024, allocations: 1.743 MB / 1.418 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/2.024, allocations: 11.94 kB / 1.418 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/2.024, allocations: 7.938 kB / 1.418 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003256/2.027, allocations: 1.371 MB / 1.42 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/2.038, allocations: 4.522 MB / 1.424 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/2.038, allocations: 8 kB / 1.424 GB, free: 0.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/2.039, allocations: 243.2 kB / 1.424 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/2.04, allocations: 56.83 kB / 1.424 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/2.04, allocations: 39.91 kB / 1.424 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/2.041, allocations: 1.429 MB / 1.426 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/2.041, allocations: 10.91 kB / 1.426 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006238/2.047, allocations: 2.561 MB / 1.428 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/2.049, allocations: 497.5 kB / 1.429 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007265/2.05, allocations: 24 kB / 1.429 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/2.053, allocations: 254.6 kB / 1.429 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/2.053, allocations: 95.23 kB / 1.429 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/2.053, allocations: 47.97 kB / 1.429 GB, free: 11.37 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003972/2.057, allocations: 1.707 MB / 1.431 GB, free: 9.664 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.164e-06/2.057, allocations: 4 kB / 1.431 GB, free: 9.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006907/2.064, allocations: 1.568 MB / 1.432 GB, free: 8.09 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (105): * Single equations (assignments): 102 * 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.001489/2.066, allocations: 449.4 kB / 1.433 GB, free: 7.684 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007946/2.074, allocations: 3.024 MB / 1.436 GB, free: 4.789 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/2.074, allocations: 0 / 1.436 GB, free: 4.789 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/2.076, allocations: 0.8267 MB / 1.436 GB, free: 3.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009074/2.085, allocations: 1.204 MB / 1.438 GB, free: 2.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/2.098, allocations: 7.111 MB / 1.445 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/2.1, allocations: 2.103 MB / 1.447 GB, free: 9.445 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/2.101, allocations: 207.4 kB / 1.447 GB, free: 9.242 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/2.101, allocations: 0 / 1.447 GB, free: 9.242 MB / 1.061 GB Notification: Performance of Templates: time 0.09021/2.191, allocations: 54.27 MB / 1.5 GB, free: 3.266 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches