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.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.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.001794/0.001794, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002166/0.002166, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.544/2.544, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 63.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter exh.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.4183/1.424, allocations: 379.3 MB / 1.459 GB, free: 1.852 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.06433/1.488, allocations: 44.46 MB / 1.502 GB, free: 5.254 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008198/1.496, allocations: 171.1 kB / 1.503 GB, free: 5.086 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.009381/1.506, allocations: 2.89 MB / 1.505 GB, free: 2.18 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.02314/1.529, allocations: 7.585 MB / 1.513 GB, free: 10.57 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01102/1.54, allocations: 3.793 MB / 1.517 GB, free: 6.801 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.02006/1.56, allocations: 11.55 MB / 1.528 GB, free: 11.22 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/1.574, allocations: 5.543 MB / 1.533 GB, free: 5.594 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01684/1.591, allocations: 6.548 MB / 1.54 GB, free: 15.02 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008697/1.6, allocations: 3.619 MB / 1.543 GB, free: 11.41 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002256/1.602, allocations: 496 kB / 1.544 GB, free: 10.92 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/1.62, allocations: 6.182 MB / 1.55 GB, free: 4.727 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004539/1.624, allocations: 1.722 MB / 1.551 GB, free: 3 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007336/1.632, allocations: 2.772 MB / 1.554 GB, free: 220 kB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0219/1.654, allocations: 9.274 MB / 1.563 GB, free: 6.914 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/1.654, allocations: 0 / 1.563 GB, free: 6.914 MB / 1.295 GB Notification: Performance of FrontEnd: time 5.23e-06/1.654, allocations: 7.922 kB / 1.563 GB, free: 6.906 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0003367/1.654, allocations: 0 / 1.563 GB, free: 6.906 MB / 1.295 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.01827/1.672, allocations: 5.63 MB / 1.569 GB, free: 1.184 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.672, allocations: 12.03 kB / 1.569 GB, free: 1.172 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/1.685, allocations: 1.972 MB / 1.571 GB, free: 15.19 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/1.696, allocations: 3.8 MB / 1.574 GB, free: 11.33 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004946/1.697, allocations: 389.4 kB / 1.575 GB, free: 10.92 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/1.698, allocations: 340 kB / 1.575 GB, free: 10.59 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/1.711, allocations: 4.522 MB / 1.579 GB, free: 5.957 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/1.711, allocations: 3.938 kB / 1.579 GB, free: 5.953 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009046/1.712, allocations: 140 kB / 1.58 GB, free: 5.816 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/1.712, allocations: 138.4 kB / 1.58 GB, free: 5.68 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/1.723, allocations: 3.987 MB / 1.584 GB, free: 1.684 MB / 1.311 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.857/2.58, allocations: 18.84 MB / 1.602 GB, free: 436.1 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004977/2.585, allocations: 1.848 MB / 1.604 GB, free: 435.3 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/2.588, allocations: 0.9471 MB / 1.605 GB, free: 435 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/2.588, allocations: 414.7 kB / 1.605 GB, free: 434.7 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003042/2.592, allocations: 1.118 MB / 1.606 GB, free: 434.3 MB / 1.311 GB Notification: Performance of pre-optimization done (n=129): time 5.631e-06/2.592, allocations: 3.281 kB / 1.606 GB, free: 434.3 MB / 1.311 GB Notification: Performance of matching and sorting (n=129): time 0.009214/2.601, allocations: 2.948 MB / 1.609 GB, free: 433.3 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/2.601, allocations: 146.7 kB / 1.609 GB, free: 433.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006934/2.608, allocations: 3.469 MB / 1.613 GB, free: 431.9 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0004797/2.608, allocations: 61.8 kB / 1.613 GB, free: 431.9 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002389/2.611, allocations: 2.142 MB / 1.615 GB, free: 430.3 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/2.611, allocations: 468.3 kB / 1.615 GB, free: 430 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008778/2.612, allocations: 489.6 kB / 1.616 GB, free: 429.7 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/2.612, allocations: 302.9 kB / 1.616 GB, free: 429.4 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/2.615, allocations: 1.049 MB / 1.617 GB, free: 429.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/2.619, allocations: 2.071 MB / 1.619 GB, free: 427.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006019/2.625, allocations: 3.084 MB / 1.622 GB, free: 425.5 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.722e-05/2.625, allocations: 9.906 kB / 1.622 GB, free: 425.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.009193/2.634, allocations: 3.377 MB / 1.625 GB, free: 424.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/2.634, allocations: 45.31 kB / 1.625 GB, free: 424.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.919e-05/2.634, allocations: 35.25 kB / 1.625 GB, free: 424.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.579e-05/2.635, allocations: 45.73 kB / 1.625 GB, free: 424.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/2.637, allocations: 0.625 MB / 1.626 GB, free: 424.2 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001108/2.638, allocations: 66.94 kB / 1.626 GB, free: 424.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/2.642, allocations: 456.1 kB / 1.627 GB, free: 424.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/2.642, allocations: 123.5 kB / 1.627 GB, free: 424 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005832/2.648, allocations: 1.957 MB / 1.629 GB, free: 423.3 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004016/2.652, allocations: 2.052 MB / 1.631 GB, free: 421.6 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006246/2.659, allocations: 3.012 MB / 1.634 GB, free: 419.6 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.614e-05/2.659, allocations: 9.031 kB / 1.634 GB, free: 419.6 MB / 1.311 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.009425/2.668, allocations: 3.311 MB / 1.637 GB, free: 418.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/2.668, allocations: 52.06 kB / 1.637 GB, free: 418.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.524e-05/2.668, allocations: 35.78 kB / 1.637 GB, free: 418.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.98e-05/2.668, allocations: 48.06 kB / 1.637 GB, free: 418.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/2.671, allocations: 0.6235 MB / 1.638 GB, free: 418.2 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.564e-05/2.671, allocations: 62.48 kB / 1.638 GB, free: 418.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004678/2.676, allocations: 374.1 kB / 1.638 GB, free: 418.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/2.676, allocations: 125.5 kB / 1.638 GB, free: 418 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (284): * Single equations (assignments): 280 * 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.00102/2.677, allocations: 347.7 kB / 1.638 GB, free: 417.7 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/2.679, allocations: 360.7 kB / 1.639 GB, free: 417.6 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006447/2.685, allocations: 2.368 MB / 1.641 GB, free: 416.7 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004668/2.69, allocations: 1.988 MB / 1.643 GB, free: 415.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/2.69, allocations: 0 / 1.643 GB, free: 415.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/2.693, allocations: 0.6155 MB / 1.644 GB, free: 415.3 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/2.694, allocations: 26.7 kB / 1.644 GB, free: 415.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/2.697, allocations: 178.1 kB / 1.644 GB, free: 415.3 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/2.697, allocations: 80.27 kB / 1.644 GB, free: 415.3 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005914/2.703, allocations: 2.115 MB / 1.646 GB, free: 414.5 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007656/2.711, allocations: 3.274 MB / 1.649 GB, free: 413.2 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00214/2.713, allocations: 0.8685 MB / 1.65 GB, free: 412.9 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.005959/2.719, allocations: 2.348 MB / 1.652 GB, free: 412 MB / 1.311 GB Notification: Performance of Backend: time 9.92e-07/2.719, allocations: 1.625 kB / 1.652 GB, free: 412 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01467/2.733, allocations: 4.44 MB / 1.657 GB, free: 410.7 MB / 1.311 GB Notification: Performance of SimCode: time 0.0179/2.751, allocations: 8.433 MB / 1.665 GB, free: 406.7 MB / 1.311 GB Notification: Performance of Templates: time 0.113/2.864, allocations: 85.39 MB / 1.748 GB, free: 330.8 MB / 1.311 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