Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001607/0.001607, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001728/0.001728, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.532/1.532, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 437.1 MB / 0.7111 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 64.72 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.139/1.491, allocations: 380.1 MB / 1.389 GB, free: 12.68 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.07315/1.565, allocations: 46.52 MB / 1.435 GB, free: 14.03 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009096/1.574, allocations: 183 kB / 1.435 GB, free: 13.85 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.02058/1.594, allocations: 8.593 MB / 1.443 GB, free: 5.238 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.02485/1.619, allocations: 7.316 MB / 1.45 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01167/1.631, allocations: 3.836 MB / 1.454 GB, free: 10.08 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.02885/1.66, allocations: 17.1 MB / 1.471 GB, free: 8.957 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01652/1.676, allocations: 5.591 MB / 1.476 GB, free: 3.285 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02531/1.702, allocations: 6.271 MB / 1.482 GB, free: 12.99 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01612/1.718, allocations: 3.708 MB / 1.486 GB, free: 9.281 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.004477/1.723, allocations: 0.4922 MB / 1.486 GB, free: 8.789 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0316/1.754, allocations: 6.326 MB / 1.493 GB, free: 2.449 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.006244/1.761, allocations: 1.975 MB / 1.495 GB, free: 480 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.01292/1.773, allocations: 3.134 MB / 1.498 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.03793/1.811, allocations: 10.17 MB / 1.508 GB, free: 3.121 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/1.812, allocations: 0 / 1.508 GB, free: 3.121 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.614e-06/1.812, allocations: 0 / 1.508 GB, free: 3.121 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0003802/1.812, allocations: 0 / 1.508 GB, free: 3.121 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.03261/1.845, allocations: 6.447 MB / 1.514 GB, free: 12.56 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/1.845, allocations: 8.031 kB / 1.514 GB, free: 12.55 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02429/1.869, allocations: 2.01 MB / 1.516 GB, free: 10.54 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02378/1.893, allocations: 5.62 MB / 1.521 GB, free: 4.836 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003232/1.896, allocations: 0.595 MB / 1.522 GB, free: 4.215 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/1.898, allocations: 344 kB / 1.522 GB, free: 3.879 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/1.923, allocations: 4.537 MB / 1.527 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/1.923, allocations: 4 kB / 1.527 GB, free: 15.22 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001751/1.925, allocations: 136 kB / 1.527 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003424/1.926, allocations: 134.5 kB / 1.527 GB, free: 14.96 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02325/1.949, allocations: 4.011 MB / 1.531 GB, free: 10.94 MB / 1.232 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.8915/2.84, allocations: 19.74 MB / 1.55 GB, free: 437.4 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/2.845, allocations: 1.763 MB / 1.552 GB, free: 436.8 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/2.848, allocations: 0.915 MB / 1.553 GB, free: 436.5 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/2.849, allocations: 412.8 kB / 1.553 GB, free: 436.1 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003144/2.852, allocations: 1.069 MB / 1.554 GB, free: 435.8 MB / 1.232 GB Notification: Performance of pre-optimization done (n=127): time 3.356e-06/2.852, allocations: 3.5 kB / 1.554 GB, free: 435.8 MB / 1.232 GB Notification: Performance of matching and sorting (n=127): time 0.009835/2.862, allocations: 2.93 MB / 1.557 GB, free: 435 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/2.862, allocations: 148.7 kB / 1.557 GB, free: 434.8 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/2.872, allocations: 4.654 MB / 1.562 GB, free: 433.3 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005331/2.873, allocations: 56.83 kB / 1.562 GB, free: 433.2 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002557/2.876, allocations: 2.432 MB / 1.564 GB, free: 431.6 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/2.876, allocations: 471.8 kB / 1.565 GB, free: 431.2 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/2.878, allocations: 0.6787 MB / 1.565 GB, free: 430.9 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 5.913e-05/2.878, allocations: 306.1 kB / 1.566 GB, free: 430.6 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003652/2.881, allocations: 1.403 MB / 1.567 GB, free: 430.2 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004539/2.886, allocations: 2.554 MB / 1.569 GB, free: 428.3 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007219/2.893, allocations: 3.728 MB / 1.573 GB, free: 426.1 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-05/2.893, allocations: 10.34 kB / 1.573 GB, free: 426.1 MB / 1.232 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01162/2.905, allocations: 4.329 MB / 1.577 GB, free: 424.6 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/2.905, allocations: 50.36 kB / 1.577 GB, free: 424.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-05/2.905, allocations: 32.94 kB / 1.577 GB, free: 424.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.91e-05/2.905, allocations: 48.78 kB / 1.577 GB, free: 424.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/2.909, allocations: 0.7409 MB / 1.578 GB, free: 424.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.929e-05/2.909, allocations: 72.39 kB / 1.578 GB, free: 424.4 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/2.914, allocations: 0.5736 MB / 1.579 GB, free: 424.2 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005848/2.914, allocations: 144.7 kB / 1.579 GB, free: 424.2 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006912/2.921, allocations: 2.56 MB / 1.581 GB, free: 423.2 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004827/2.926, allocations: 2.548 MB / 1.584 GB, free: 421.4 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007575/2.934, allocations: 3.741 MB / 1.588 GB, free: 419 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.422e-05/2.934, allocations: 10.41 kB / 1.588 GB, free: 419 MB / 1.232 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01245/2.946, allocations: 4.33 MB / 1.592 GB, free: 417.4 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 8.669e-05/2.947, allocations: 48.31 kB / 1.592 GB, free: 417.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-05/2.947, allocations: 36.94 kB / 1.592 GB, free: 417.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/2.947, allocations: 49.03 kB / 1.592 GB, free: 417.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/2.95, allocations: 0.7334 MB / 1.593 GB, free: 417.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001604/2.951, allocations: 77.97 kB / 1.593 GB, free: 417.2 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006009/2.957, allocations: 494.6 kB / 1.593 GB, free: 417 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007753/2.957, allocations: 143.6 kB / 1.593 GB, free: 417 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.001471/2.959, allocations: 366.3 kB / 1.594 GB, free: 416.7 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/2.961, allocations: 443.1 kB / 1.594 GB, free: 416.5 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007608/2.968, allocations: 2.323 MB / 1.596 GB, free: 415.6 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/2.968, allocations: 11.84 kB / 1.596 GB, free: 415.6 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/2.968, allocations: 0 / 1.596 GB, free: 415.6 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004536/2.973, allocations: 1.929 MB / 1.598 GB, free: 414.7 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/2.99, allocations: 6.7 MB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/2.99, allocations: 9.844 kB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/2.991, allocations: 329.3 kB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/2.992, allocations: 55.83 kB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/2.992, allocations: 39.38 kB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/2.993, allocations: 1.553 MB / 1.607 GB, free: 410.1 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.619e-06/2.993, allocations: 19.91 kB / 1.607 GB, free: 410.1 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007269/3, allocations: 3.389 MB / 1.61 GB, free: 408.4 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/3.002, allocations: 0.7231 MB / 1.611 GB, free: 407.8 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/3.003, allocations: 39.8 kB / 1.611 GB, free: 407.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003338/3.007, allocations: 202.2 kB / 1.611 GB, free: 407.7 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/3.007, allocations: 119.5 kB / 1.611 GB, free: 407.7 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/3.007, allocations: 66.06 kB / 1.611 GB, free: 407.7 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.006193/3.013, allocations: 3.123 MB / 1.614 GB, free: 406 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/3.013, allocations: 0 / 1.614 GB, free: 406 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.007971/3.021, allocations: 2.3 MB / 1.616 GB, free: 405.6 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (125): * Single equations (assignments): 122 * 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.00149/3.023, allocations: 0.6322 MB / 1.617 GB, free: 405.3 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01081/3.034, allocations: 5.104 MB / 1.622 GB, free: 402.5 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/3.034, allocations: 4 kB / 1.622 GB, free: 402.5 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/3.036, allocations: 1.025 MB / 1.623 GB, free: 401.5 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/3.047, allocations: 2.143 MB / 1.625 GB, free: 399.5 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/3.066, allocations: 9.191 MB / 1.634 GB, free: 390.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003206/3.07, allocations: 2.974 MB / 1.637 GB, free: 387.1 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/3.071, allocations: 334.7 kB / 1.637 GB, free: 386.8 MB / 1.232 GB Notification: Performance of SimCode: time 6.81e-07/3.071, allocations: 0 / 1.637 GB, free: 386.8 MB / 1.232 GB Notification: Performance of Templates: time 0.1003/3.172, allocations: 87.18 MB / 1.723 GB, free: 300.1 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches