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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009517/0.0009517, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008512/0.008513, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8007, allocations: 142.4 MB / 0.955 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.212/2.012, allocations: 335.8 MB / 1.283 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05181/2.064, allocations: 36.35 MB / 1.318 GB, free: 17.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007107/2.071, allocations: 116.5 kB / 1.319 GB, free: 17.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007355/2.079, allocations: 1.984 MB / 1.32 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02099/2.1, allocations: 5.401 MB / 1.326 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/2.11, allocations: 2.743 MB / 1.328 GB, free: 16.99 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01777/2.128, allocations: 11.38 MB / 1.34 GB, free: 16.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006973/2.135, allocations: 3.437 MB / 1.343 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01388/2.148, allocations: 4.182 MB / 1.347 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007184/2.156, allocations: 2.544 MB / 1.349 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008449/2.157, allocations: 120.8 kB / 1.35 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01283/2.169, allocations: 5.71 MB / 1.355 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002423/2.172, allocations: 0.9784 MB / 1.356 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004578/2.176, allocations: 1.77 MB / 1.358 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/2.191, allocations: 7.034 MB / 1.365 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/2.191, allocations: 4 kB / 1.365 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.966e-06/2.191, allocations: 0 / 1.365 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001755/2.191, allocations: 0 / 1.365 GB, free: 12.83 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.009056/2.2, allocations: 3.656 MB / 1.368 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/2.2, allocations: 13.41 kB / 1.368 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009363/2.21, allocations: 1.552 MB / 1.37 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007096/2.217, allocations: 2.771 MB / 1.373 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/2.218, allocations: 484.4 kB / 1.373 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007646/2.219, allocations: 258.4 kB / 1.373 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009111/2.228, allocations: 3.434 MB / 1.377 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.06e-05/2.228, allocations: 4.031 kB / 1.377 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/2.228, allocations: 101.2 kB / 1.377 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/2.228, allocations: 103.8 kB / 1.377 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006986/2.235, allocations: 3.12 MB / 1.38 GB, free: 6.93 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.02058/2.256, allocations: 14.16 MB / 1.394 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/2.26, allocations: 1.659 MB / 1.395 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/2.261, allocations: 0.7302 MB / 1.396 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/2.262, allocations: 307.6 kB / 1.396 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/2.264, allocations: 0.8579 MB / 1.397 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001535/2.265, allocations: 116.7 kB / 1.397 GB, free: 11.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.699e-06/2.265, allocations: 3.938 kB / 1.397 GB, free: 11.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.006324/2.272, allocations: 2.245 MB / 1.399 GB, free: 10.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/2.272, allocations: 119.8 kB / 1.4 GB, free: 9.934 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/2.276, allocations: 2.513 MB / 1.402 GB, free: 7.406 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002901/2.277, allocations: 53.7 kB / 1.402 GB, free: 7.348 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/2.278, allocations: 1.587 MB / 1.404 GB, free: 5.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005754/2.279, allocations: 385 kB / 1.404 GB, free: 5.379 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/2.279, allocations: 141.6 kB / 1.404 GB, free: 5.234 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001228/2.279, allocations: 303 kB / 1.404 GB, free: 4.938 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/2.281, allocations: 0.8086 MB / 1.405 GB, free: 4.129 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/2.284, allocations: 1.518 MB / 1.407 GB, free: 2.301 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004397/2.289, allocations: 2.244 MB / 1.409 GB, free: 15.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/2.289, allocations: 4 kB / 1.409 GB, free: 15.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=218) (initialization): time 0.006637/2.296, allocations: 2.551 MB / 1.411 GB, free: 13.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006147/2.296, allocations: 0.7279 MB / 1.412 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/2.296, allocations: 24 kB / 1.412 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.635e-05/2.296, allocations: 35.94 kB / 1.412 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/2.298, allocations: 485.4 kB / 1.413 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-05/2.298, allocations: 48.88 kB / 1.413 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/2.303, allocations: 475.7 kB / 1.413 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/2.303, allocations: 91.97 kB / 1.413 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/2.303, allocations: 4 kB / 1.413 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005612/2.308, allocations: 2.271 MB / 1.415 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.092e-05/2.308, allocations: 20 kB / 1.415 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.649e-05/2.309, allocations: 28 kB / 1.415 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/2.311, allocations: 489.8 kB / 1.416 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.807e-05/2.311, allocations: 48.88 kB / 1.416 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/2.315, allocations: 393.1 kB / 1.416 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/2.315, allocations: 91.97 kB / 1.416 GB, free: 8.133 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.002512/2.317, allocations: 0.8882 MB / 1.417 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008226/2.318, allocations: 264.6 kB / 1.418 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/2.323, allocations: 1.732 MB / 1.419 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/2.323, allocations: 15.94 kB / 1.419 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/2.323, allocations: 0 / 1.419 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003237/2.326, allocations: 1.368 MB / 1.421 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/2.338, allocations: 4.528 MB / 1.425 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/2.338, allocations: 12.12 kB / 1.425 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/2.339, allocations: 244.7 kB / 1.425 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/2.34, allocations: 60.75 kB / 1.425 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/2.34, allocations: 35.92 kB / 1.425 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/2.341, allocations: 1.432 MB / 1.427 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/2.341, allocations: 11 kB / 1.427 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/2.347, allocations: 2.563 MB / 1.429 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/2.349, allocations: 497.5 kB / 1.43 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008511/2.35, allocations: 27.98 kB / 1.43 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/2.353, allocations: 254.4 kB / 1.43 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/2.353, allocations: 95.7 kB / 1.43 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/2.354, allocations: 47.97 kB / 1.43 GB, free: 9.723 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004197/2.358, allocations: 1.707 MB / 1.432 GB, free: 8.016 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.8e-07/2.358, allocations: 0 / 1.432 GB, free: 8.016 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006033/2.364, allocations: 1.573 MB / 1.433 GB, free: 6.438 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.001242/2.365, allocations: 454.3 kB / 1.434 GB, free: 6.031 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007731/2.373, allocations: 3.014 MB / 1.437 GB, free: 3.145 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/2.373, allocations: 0 / 1.437 GB, free: 3.145 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/2.375, allocations: 0.8535 MB / 1.438 GB, free: 2.309 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00929/2.384, allocations: 1.197 MB / 1.439 GB, free: 1.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/2.399, allocations: 6.994 MB / 1.446 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/2.401, allocations: 2.126 MB / 1.448 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004617/2.405, allocations: 0.7715 MB / 1.448 GB, free: 7.102 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/2.406, allocations: 187.4 kB / 1.449 GB, free: 6.918 MB / 1.061 GB Notification: Performance of SimCode: time 1.413e-06/2.406, allocations: 0 / 1.449 GB, free: 6.918 MB / 1.061 GB Notification: Performance of Templates: time 0.09248/2.498, allocations: 45.43 MB / 1.493 GB, free: 10.19 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/jenkins/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